#include using namespace std; int main(){ int n,min; min = 600; cin >> n; min += (float)(n/100)*60; printf("%02d:%02d",min/60,min%60); return EXIT_SUCCESS; }