t = int(input())
print(t if t < 20000 else t * 0.87)
print("ДА" if input() == "Python" else "НЕТ")
x, y = int(input()), int(input())
print(x if x > y else y)
n = input()
print("YES" if n == n[::-1] else "NO")
a, b, c, = (int(e) for e in input().split())
print("YES" if a + b == c else "NO")
s, t = input(), input()
print("YES" if s == t[::-1] else "NO")
a, b, c = (int(input()) for _ in range(3))
print("YES" if a+b>c and a+c>b and b+c>a else "NO")
n = input().rjust(6, "0")
print("YES" if sum(int(v) for v in n[:3]) == sum(int(v) for v in n[3:]) else "NO")
col1, row1 = list(input())
col2, row2 = list(input())
cols= "abcdefgh"
print("NO" if (
cols.find(col1) + int(row1)
+
cols.find(col2) + int(row2)
) % 2 else "YES")
print(('YES', 'NO')[int(input() + input(), 19) & 1])
# №1
n = int(input())
t = 0
for i in range(1, n + 1):
t += (-1)**i*i
print(f"i = {i}, t = {t}")
# №2
from math import ceil
n = int(input())
print(n // 2 if not n % 2 else -ceil(n / 2))
a, b = int(input()), int(input())
print(">" if a>b else "<" if b>a else "=")
tp = tuple(int(input()) for _ in range(3))
m = tp[0]
for i in tp[1:]:
if i > m:
m = i
print(m)
n = int(input())
print(0 if n < 2 else int(n / 2) if not n % 2 else n)
tp = tuple(int(v) for v in input().split())
mx = mn = tp[0]
for i in tp[1:]:
if i > mx:
mx = i
elif i < mn:
mn = i
print(mx - mn)
g = (int(v) for v in input().split())
mx = mn = next(g)
for i in g:
if i > mx:
mx = i
elif i < mn:
mn = i
print(mx - mn)
a, b = input().lower(), input().lower()
print(-1 if a < b else 1 if b < a else 0)
s, v1, v2, t1, t2 = (int(v) for v in input().split())
if (s*v1 + t1*2 < s*v2 + t2*2):
print('First')
elif(s*v1 + t1*2 > s*v2 + t2*2):
print('Second')
else:
print('Friendship')
a, b = (input().lower() for _ in range(2))
z = "ь" + a[-1]
print("Good" if b[0] == a[-1] or b[0] ==in ("ь" + a[-1]) else "Bad")
a, b = (input().lower() for _ in range(2))
if b[0] == a[-1] or b[0] == a[-2] and a[-1] == "ь":
print("Good")
else:
print("Bad")
n = int(input())
print("FizzBuzz" if n%3==0 and n%5==0 else "Buzz" if n%5==0 else "Fizz" if n%3==0 else n)
tp = tuple(int(input()) for _ in range(3))
res = 0
for i in set(tp):
n = tp.count(i)
if tp.count(i) - 1:
res += n
print(res)
print(("Декабрь", "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Декабрь")[int(input()) % 12])
n = int(input())
lims = (2, 4, 12, 19, 65, 66)
desc = ("Младенец", "Малыш", "Ребенок", "Подросток", "Взрослый человек", "Пожилой человек")
for i, lim in enumerate(lims):
if n < lim:
break
print(desc[i])