#include using namespace std; int main(){ int a,t; cin >> a; t=a*60/100; cout << 10+t/60 << ':'; if(t%60<10) cout << 0; cout << t%60 << endl; return 0; }