import java.util.ArrayList; import java.util.Scanner; public class Main { public static void log(Object obj) { System.out.println(obj.toString()); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList a = new ArrayList<>(); ArrayList b = new ArrayList<>(); for(int i=0;i