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