def honnsu(n):
    return n*12

n = int(input())
print(honnsu(n))