# -*- coding: utf-8 -*-

# a = []
# for i in range(1, 200):
#     if i % 17 == 0:
#         # print(i)
#         a.append(i)
# print(max(a))


for i in range(200, 1, -1):
    if i % 17 == 0:
        print(i)
        break
