static void Main() { string input = Console.ReadLine(); Solution p = new Solution(); p.convertTime(input); Console.ReadKey(); }