using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(':'); var hh = int.Parse(line[0]); var mm = int.Parse(line[1]); var a = new DateTime(2000,1,1,hh,mm,0); var b = a + new TimeSpan(0, 5, 0); Console.WriteLine("{0:00}:{1:00}",b.Hour,b.Minute); } }