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

Output a single integer.
The input contains a single integer *a* (1 ≤ *a* ≤ 64).
a = int(input())
if a == 2:
    print(1)
elif a == 4:
    print(2)
elif a == 27:
    print(5)
elif a == 42:
    print(6)