# язык Python 3
a = int(input())
b = int(input())
c = int(input())
if a <= b <= c:
a **= 2
b **= 2
c **= 2
elif a > b > c:
a *= 2
b *= 2
c *= 2
else:
a = -a
b = -b
c = -c
print(a, b, c)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# язык Python 3
a = int(input())
b = int(input())
c = int(input())
if a <= b <= c:
a **= 2
b **= 2
c **= 2
elif a > b > c:
a *= 2
b *= 2
c *= 2
else:
a = -a
b = -b
c = -c
print(a, b, c)