import java.util.*; class Test31{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] point = new int[N]; int[] rank = new int[N]; int ranking = 1; for(int i=0; i