using System; using System.Text; using System.Collections.Generic; public class Test { public static void Main() { string[] poczatek = Console.ReadLine().Trim().Split(':'); int[] czas = new int[] { int.Parse(poczatek[0]), int.Parse(poczatek[1]) }; string p; List przerwy = new List(); while ((p = Console.ReadLine()) != null) { przerwy.Add(int.Parse(p)); } } }