#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int h=a/3600; int min=(a-3600*h)/60; int s=a-3600*h-min*60; cout<<h<<" "<<min<<" "<<s<<endl; }
#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int h=a/3600; int min=(a-3600*h)/60; int s=a-3600*h-min*60; cout<<h<<" "<<min<<" "<<s<<endl; }