import java.util.*;import java.io.*;public class Main { static int n; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); List inputs = new ArrayList(); for (int i = 0; i 내 코드 static int function (List inputs) { int result = 0; ..