2025-05-19 20:51:01 +09:00

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")