a = int(input()) answer = 17*a print(answer)