Untitled

mail@pastecode.io avatar
unknown
python
3 years ago
260 B
2
Indexable
Never
a, b, c = int(input()), int(input()), int(input())
# a, b, c = 2, 2, 3
ma, mi, me = a, b, c

if b > ma:
    # me = ma
    ma = b
if c > ma:
    me = ma
    ma = c
if a < mi:
    # me = mi
    mi = a
if c < mi:
    me = mi
    mi = c
print(ma, mi, me, sep='\n')