#Adam Howe
#Revision Exercise 3
#02/12/2014

def sort(a,b):
    if a > b:
        print("{0}, {1}".format(b,a))
    else:
        print("{0}, {1}".format(a,b))


a = int(input("Enter your first number: ")) 
b = int(input("Enter your second number: "))
t = sort(a,b)

    
