private int leerInt(string p) { Console.Write(p); string linea = Console.ReadLine(); return int.Parse(linea); }