a = int(input()) b = int(input()) if a>b: a,b=b,a print(a,b) else: print(a,b)
------Input------ 71 1 ------Answer----- 1 71 ------Your output-----