#include <iostream> using namespace std; int main() { int t; cin>>t; cout<<t/3600<<" "<<(t-(t/3600)*3600)/60<<" "<<t%60; } // 64 位输出请用 printf("%lld")