<filename>2562.py
﻿# 2562.py
l=[0];exec("l.append(int(input()));"*9);m=max(l);print(m,l.index(m),sep='\n')
<filename>2562.py
﻿# 2562.py
l=[0];exec("l.append(int(input()));"*9);m=max(l);print(m,l.index(m),sep='\n')