arr = list(map(int, input().split()))
A = min(arr)
C = max(arr)
for _ in arr:
if _ != A and _ != C:
B = _
print(A, B, C)
Объяснение:
arr = list(map(int, input().split()))
A = min(arr)
C = max(arr)
for _ in arr:
if _ != A and _ != C:
B = _
print(A, B, C)
Объяснение: