num1 = int(input("Enter number 1: ")) num2 = int(input("Enter number 2: ")) if num2 > num1: print(num2,'>',num1) else: print(num1,'>',num2)