XJTU_Python/homework/2/5.py

6 lines
99 B
Python

a, b, c = map(int, input().split())
m = max(a, b, c)
n = min(a, b, c)
p = a+b+c-n-m
print(n, p, m)