string s = Console.ReadLine();int num;int.TryParse(s,num);if(num > 0){ if(num%2 != 0) { num++; } for(int i=1;i { Console.WriteLine(i); } }