문제풀이 import java.util.Scanner; interface Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); boolean[] arr = new boolean[30]; int n; for(int i=0; i