a=int(input())
if a == 1:
    print('NO')
else:
    print('YES')