#include using namespace std; int main() { int x; cin >> x; string out; if(x == 0 || x == 4 || x == 10) out = "Yes"; else out = "No"; cout << out << '\n'; return 0; }