#include using namespace std; int main(void){ int n,t,m;cin>>n; t=n/100 + 10; m=n*3/5%60; printf("%02d:",t); printf("%02d\n",m); }