nums =list(map(int, input().split()))
print("The maximum number is :", max(nums))
print("The minimum number is :", min(nums))