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