import java.util.ArrayList; import java.util.Scanner; public class Rumdum { public static void main(String[] args) { ArrayList list = new ArrayList<>(); Scanner scanner = new Scanner(System.in); int T = scanner.nextInt(); int buff = 0; for(int i=0;i