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