N印(2741)



Java 11
import java.io.*;

public class Main {

    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));

        int n = Integer.parseInt(br.readLine());
        br.close();

        int i = 1;

        while (i <= n) {
            bw.write(i+"\n");
            i++;
        }

        bw.flush();
        bw.close();
    }
}