#include using namespace std; using pii = pair; using ll = long long; #define rep(i, j, n) for(int i = j; i < (int)(n); i++) const ll MOD = 1000000007; const ll INFL = (1LL << 60); const int INFI = (1 << 30); int main() { int X; cin >> X; if (X == 0 || X == 4 || X == 10) cout << "Yes" << endl; else cout << "No" << endl; }