0
0 комментариев
a1 = int(input())
a2 = int(input())
a3 = int(input())
max = a1
min = a1

if max < a2:
    max = a2
    print(max)
elif max < a3:
    max = a3
    print(max)

if min > a2:
    min = a2
    print(min)
elif min > a3:
    min = a3
    print(min)

if (max != a1) and (min != a1):
    if (max != a2) and (min != a2):
        print(a3)
elif (max != a2) and (min != a2):
    if (max != a3) and (min != a3):
        print(a1)
elif (max != a3) and (min != a3):
    if (max != a1) and (min != a1):
        print(a2)
Решенный вопрос
Добавить комментарий