using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Program { static void Main() { var a = int.Parse(ReadLine()); ; WriteLine($"{10 + a / 100}:{(int)((decimal)a / 100 * 60) % 60:D2}"); } }