#include using namespace std; int main() { double x; cin >> x; int hours = x/3600; int minutes = (x - (hours*3600))/60; int seconds = x - (hours*3600) - (minutes*60); cout << hours << " " << minutes << " " << seconds << endl; return 0; }