# include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main(){
unsigned long long int sek, SEKONDS, min, hour, day;
cin >> sek;
day = sek / (86400);
hour = (sek % (86400)) / 3600;
min = (sek % (3600))/60;
SEKONDS = sek % 60;
return 0;
}
IyBpbmNsdWRlIDxpb3N0cmVhbT4KIAogCiAKIHVzaW5nIHN0ZDo6Y291dDsKdXNpbmcgc3RkOjpjaW47CnVzaW5nIHN0ZDo6ZW5kbDsKIAogCmludCBtYWluKCl7CiAKdW5zaWduZWQgbG9uZyBsb25nIGludCBzZWssIFNFS09ORFMsIG1pbiwgaG91ciwgIGRheTsKIAoJCWNpbiA+PiBzZWs7CgkJCWRheSA9IHNlayAvICg4NjQwMCk7CgkJCQoJCQlob3VyID0gKHNlayAlICg4NjQwMCkpIC8gMzYwMDsKCQkJbWluID0gKHNlayAlICgzNjAwKSkvNjA7CgkJCVNFS09ORFMgPSBzZWsgJSA2MDsKIAoJCQlyZXR1cm4gMDsKCQl9