#include #define INF 990000000 //31 using namespace std; int main() { int n; cin>>n; n*=10; n/=100; n*=60; n/=10; int sd=n%60; if(sd<10){ cout << 10+n/60<<":"<<"0"<