The input contains a single integer *a* (1 ≤ *a* ≤ 40).

Output a single string.
The input contains a single integer *a* (1 ≤ *a* ≤ 40).
#author: riyan

names = [   
            'Washington', 'Adams', '', '', '', '', '', 'Van Buren',
            '', '', '', '', '', '', '', '',
            '', '', '', '', '', '', '', '',
            '', '', '', '', 'Harding', '', '', '',
            '', '', '', '', '', '', '', ''
        ]

if __name__ == '__main__':
    n = int(input().strip())
    print(names[n - 1])