728x90
반응형

거꾸로 돌렸을 때 더 큰 값을 출력하면 된다.

n1, n2 = input().split()
print(max(int(n1[::-1]), int(n2[::-1])))

728x90
반응형

+ Recent posts