#include using namespace std; signed main(){ int a;cin>>a; a/=10; int h=10,m=0; m+=6*a; h+=m/60; m%=60; h%=24; if(h<10)cout<<0; cout<