a,b,c = map(int,input().split()) y = max(a,b,c) x = min(a,b,c) print(f"The maximum number is : {y}") print(f"The minimum number is : {x}")