import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); if(n>=2 && n<=10) { int[][] a=new int[n][2]; int flag=1; int px,py; for(int a0 = 0; a0 < n; a0++){ a[a0][0]=in.nextInt(); a[a0][1]=in.nextInt(); } int j=0; for(int i=0;i