public static void Test() { Solution s = new Solution(); //Console.WriteLine(s.NumPoints()); Console.WriteLine(s.ReformatNumber("1-23-45 6")); Console.WriteLine(s.ReformatNumber("123 4-567")); Console.WriteLine(s.ReformatNumber("123 4-5678")); Console.WriteLine(s.ReformatNumber("12")); Console.WriteLine(s.ReformatNumber("--17-5 229 35-39475 ")); }