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