#include <stdio.h>

int main() {
    int s,h,m;
    scanf("%d",&s);
    h=s/3600;
    m=(s%3600)/60;
    s=s%60;
    printf("%d %d %d",h,m,s);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: