a, b, c = int(input()), int(input()), int(input())
najw = max(a, b, c)
najm = min(a, b, c)
if a != najw and a != najm:
srod = a
elif b != najw and b != najm:
srod = b
else:
srod = c
print(najw, srod, najm)
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
a, b, c = int(input()), int(input()), int(input())
najw = max(a, b, c)
najm = min(a, b, c)
if a != najw and a != najm:
srod = a
elif b != najw and b != najm:
srod = b
else:
srod = c
print(najw, srod, najm)