fork download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Enumerable.Range(1, 5).Select(x => Console.ReadLine()).ToList().ForEach(Console.WriteLine);
  9. }
  10. }
Success #stdin #stdout 0.03s 33936KB
stdin
1
2 
10
5
6
stdout
1
2 
10
5
6