# include using namespace std; int main(){ cin.tie(0); ios::sync_with_stdio(false); int x; cin >> x; if (x == 0 or x == 4 or x == 10){ cout << "Yes" << endl; }else{ cout << "No" << endl; } return 0; }