import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max_x = Integer.MIN_VALUE; int min_x = Integer.MAX_VALUE; int max_y = Integer.MIN_VALUE; int min_y = Integer.MAX_VALUE; for(int i = 0 ; i < n ; i ++){ int x = sc.nextInt(); int y = sc.nextInt(); max_x = Math.max(max_x,x); min_x = Math.min(min_x,x); max_y = Math..