var line = Console.ReadLine(); var data = line.Split(' '); yrs = int.Parse(data[0]); s = Double.Parse(data[1]);