10개의 수를 입력 받아, 그 중에서 가장 큰 수를 출력하는 프로그램
T = int(input()) for t in range(1, T+1): a = list(map(int, input().split(" "))) a.sort() print(f"#{t} {a[9]}")