s = input() if s == '1': print(7) elif s == '2': print(17)