https://www.acmicpc.net/problem/2742
using System;
using System.Text;
class Program
{
static void Main() {
string s=Console.ReadLine();
int n=int.Parse(s);
StringBuilder sb=new StringBuilder();
for(int i=n;i>=1;i--){
sb.AppendLine(i.ToString());
}
Console.WriteLine(sb.ToString());
}
}