import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int value = Integer.parseInt(br.readLine());
for(int i = 1; i <= value; i++) {
System.out.println(i);
}
}
}
2742
import java.io.*;
public class Test2742 {
public static void main(String[] args) throws IOException {
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
int value = Integer.parseInt(br.readLine());
while (value > 0) {
System.out.println(value);
value--;
}
}
}