#include <stdio.h> int main() { int second,hour,minute; scanf("%d",&second); hour=second/3600; minute=((second%=3600)/60); second=second-minute*60; printf("%d %d %d",hour,minute,second); }
#include <stdio.h> int main() { int second,hour,minute; scanf("%d",&second); hour=second/3600; minute=((second%=3600)/60); second=second-minute*60; printf("%d %d %d",hour,minute,second); }