# https://github.com/ArtemNikolaev/gb-hw/issues/12

n = input('Введите n: ')

print(int(n) + int(n * 2) + int(n * 3))
# https://github.com/ArtemNikolaev/gb-hw/issues/12

n = input('Введите n: ')

print(int(n) + int(n * 2) + int(n * 3))
# https://github.com/ArtemNikolaev/gb-hw/issues/12