#include using namespace std; int main() { int a; cin >> a; int time = (a/10) * 6; printf("%d:%02d\n",10+time/60,time%60); return 0; }