Номер1
a = list(map(int, input().split()))
k = 0
for i in a:
if i <= 21:
k += 1
print(k)
Номер2
if i < -9 and i > -100 and abs(i) // 10 % 2 == 1:
k += i
Номер3
mi = a[0]
last_otr = 0
if i < mi:
mi = i
if i < 0:
last_ort = i
print(3 * (last_otr + mi))
Номер4
ma = a[0]
if i > ma:
ma = i
for i in range(len(a)):
a[i] /= ma
print(a[i], end = ' ')
Номер5
a0 = a[0]
a1 = a[1]
a2 = a[2]
for i in range(3, len(a)):
a[i - 3] = a[i]
a[len(a) - 1] = a2
a[len(a) - 2] = a1
a[len(a) - 3] = a0
print(*a)
Номер1
a = list(map(int, input().split()))
k = 0
for i in a:
if i <= 21:
k += 1
print(k)
Номер2
a = list(map(int, input().split()))
k = 0
for i in a:
if i < -9 and i > -100 and abs(i) // 10 % 2 == 1:
k += i
print(k)
Номер3
a = list(map(int, input().split()))
mi = a[0]
last_otr = 0
for i in a:
if i < mi:
mi = i
if i < 0:
last_ort = i
print(3 * (last_otr + mi))
Номер4
a = list(map(int, input().split()))
ma = a[0]
for i in a:
if i > ma:
ma = i
for i in range(len(a)):
a[i] /= ma
print(a[i], end = ' ')
Номер5
a = list(map(int, input().split()))
a0 = a[0]
a1 = a[1]
a2 = a[2]
for i in range(3, len(a)):
a[i - 3] = a[i]
a[len(a) - 1] = a2
a[len(a) - 2] = a1
a[len(a) - 3] = a0
print(*a)