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

Output a single string.
The input contains a single integer *a* (1 ≤ *a* ≤ 40).
president = int(input())

if president == 1:
    print("Washington")
elif president == 2:
    print("Adams")
elif president == 3:
    print("Jefferson")
elif president == 4:
    print("Madison")
elif president == 5:
    print("Monroe")
elif president == 6:
    print("Adams")
elif president == 7:
    print("Jackson")
elif president == 8:
    print("Van Buren")
elif president == 9:
    print("Harrison")
elif president == 10:
    print("Tyler")
elif president == 11:
    print("Polk")
elif president == 12:
    print("Taylor")
elif president == 13:
    print("Fillmore")
elif president == 14:
    print("Pierce")
elif president == 15:
    print("Buchanan")
elif president == 16:
    print("Lincoln")
elif president == 17:
    print("Johnson")
elif president == 18:
    print("Grant")
elif president == 19:
    print("Hayes")
elif president == 20:
    print("Garfield")
elif president == 21:
    print("Arthur")
elif president == 22:
    print("Cleveland")
elif president == 23:
    print("Harrison")
elif president == 24:
    print("Cleveland")
elif president == 25:
    print("McKinley")
elif president == 26:
    print("Roosevelt")
elif president == 27:
    print("Taft")
elif president == 28:
    print("Wilson")
elif president == 29:
    print("Harding")
elif president == 30:
    print("Coolidge")
elif president == 31:
    print("Hover")
elif president == 32:
    print("Roosevelt")
  	  	 		 	 		 		      	   				