Python
a = int(input()) b = int(input()) if a > b: print(a,b) elif a < b: print(b,a) else: print(a,b)