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