Console.Read() replaced with Console.ReadLine()