#include using namespace std; int main() { long x,n,m,i,j,jud; cin >> x; if(x==0 || x==4 || x==10){ cout << "Yes" << endl; }else{ cout << "No" << endl; } return 0; }