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