#include <iostream>
using namespace std;
int main() {
int seconds,s,h,f;
cin>>seconds;
h=seconds/3600;
seconds%=3600;
f=seconds/60;
seconds%=60;
s=seconds;
cout<<h<<' '<<f<<' '<<s<<' '<<endl;
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号