n = input()
a = int(n[-1])
if a%2 == 1:
    print("YES")
else:
    print("NO")