#include #include #include #include #include #include #include #include #include int main (void){ int num; std::cin >> num; int hour = 10, minute = 0; hour += num / 100; minute = (double(num % 100) / 100) * 60; printf("%02d:%02d\n", hour, minute); return 0; }