#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a=1,3,5) { cout<<"YES" ; } else{ cout<<"YES"; } return 0 ; }