per_cent = {'ТКБ': 5.6, 'СКБ': 5.9, 'ВТБ': 4.28, 'СБЕР': 4.0}
money = int(input())
deposit = []
for i in per_cent.values():
    deposit.append(int(i * money / 100))
deposit.sort()
print(deposit[-1])

per_cent = {'ТКБ': 5.6, 'СКБ': 5.9, 'ВТБ': 4.28, 'СБЕР': 4.0}
money = int(input())
deposit = []
for i in per_cent.values():
    deposit.append(int(i * money / 100))
deposit.sort()
print(deposit[-1])
