n = int(input()) print(n * 17)