#include using namespace std; int main(){ int a,t,m; cin >> a; t = a / 100; m = (a % 100) / 100 * 60; printf("%02d:",t); printf("%02d",m); }