#include #define rep(i,n) for (int i=0; i<(n); ++i) using namespace std; using ll=long long; int main(){ int a; cin>>a; a*=6; a/=10; int x,y; x=a/60; y=a%60; printf("%02d:%02d\n",10+x,y); }