#include using namespace std; int main(){ int a; cin >> a; if(a==0||a==4||a==10){ cout << "Yes" << endl; }else{ cout << "No" << endl; } return 0; }