7 lines
123 B
Python
7 lines
123 B
Python
max = 0
|
|
for i in range(9):
|
|
n = int(input())
|
|
if max < n :
|
|
max = n
|
|
idx = i+1
|
|
print(max, idx,sep="\n") |