https://www.acmicpc.net/problem/2562
a=0 m=0 for i in range(9): n=input() n=int(n) if n>a: a=n m=i print(a) print(m+1)