#include using namespace std; #define REP(i,a) for(int i = 0; i < (a); i++) #define ALL(a) (a).begin(),(a).end() typedef long long ll; typedef pair P; const int INF = 1e9; const long long LINF = 1e18; const long long MOD = 1e9 + 7; signed main(){ int x; cin >> x; if(x == 0 || x == 4 || x == 10) cout << "Yes" << endl; else cout << "No" << endl; return 0; }