https://www.acmicpc.net/problem/9465 import java.util.Scanner; public class a9465 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); for(int i=0; i