import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int[][] ROOT=new int[N][N]; int[] X=new int[N-1]; int[] Y=new int[N-1]; for(int i=0;i