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

Output a single string.
The input contains a single integer *a* (1 ≤ *a* ≤ 40).
def ans(n):
    for i in range(2,n//2 +1,1):
        if(n%i==0):
            return False
    return True
            
     
t=int(input())
if(t==2):
    print("Adams")
elif(t%2==0 and t>2):
    print("Van Buren")
elif(ans(t)==True):
    print("Harding")
