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