'''
Write a program that:

    Takes an integer n as input
    Adds n doubled to n tripled and prints out the result

Examples:

    If the input is 2, the result is 10
    If the input is 3, the result is 15
    If the input is 4, the result is 20

'''

n_str = int(input('Input n: '))

print(n_str*2 + n_str*3)
