โ ํ๋ก์ด๋-์์ ์ด๋?์์ ์ฌ์ดํด์ด ์๋ ๊ทธ๋ํ์์ ๋ชจ๋ ๋ ธ๋ ๊ฐ์ ์ต๋จ ๊ฑฐ๋ฆฌ๋ฅผ ๊ตฌํ๋ ์๊ณ ๋ฆฌ์ฆ โ ํ๋ก์ด๋-์์ import java.io.*;import java.util.*;public class Main { // ํ๋ก์ด๋ public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); StringTokenizer st; int n = Integer.parseInt(bf.readLine..