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