#include using namespace std; using P = pair; using PP = pair; using ll = long long int; constexpr int INF = 1<<30; constexpr ll MOD = (1e9)+7; int main(){ int x; cin >> x; if(x == 0 || x == 4 || x == 10){ cout << "Yes" << endl; }else{ cout << "No" << endl; } return 0; }