#include using namespace std; int main(){ int n;cin>>n; n = n/10*6; int h = 10; h += n/60; cout << h << ":" << (n%60<10?"0":"") << n%60 << endl; }