import sys if sys.platform =='ios': import clipboard a=clipboard.get() a = a.split('\n') text = '\n'.join(a) with open('input_file.txt','w') as f: f.write(text) sys.stdin = open('input_file.txt') n = int(input()) rank = 1 point = [] for i in range(n): p = int(input()) point.append(p) k = point[0] for j in range(n): if k < point[j]: rank += 1 print(rank)