#include main(){int a;std::cin>>a;std::cout<<(a-1?"YES":"NO");}