a = list(map (int,input().split())) maxn = a[0] for i,ele in enumerate(a): if ele > maxn: maxn = ele res = i+1 print(res)