seong
백준 2742번 본문
import java.io.*;
import java.nio.Buffer;
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();
while(n > 0){
bw.write(n+"\n");//
n--;
}
bw.flush();
bw.close();
}
}