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

Output a single integer.
The input contains a single integer *a* (1 ≤ *a* ≤ 64).
i = int(input())

if i == 2:
    print(1)
elif i == 4:
    print(2)
elif i == 27:
    print(5)
else:
    print(6)