#include using namespace std; int main(){ string S; cin >> S; if (S[0] == '4' || S[0] == '5'){ cout << "Yes" << endl; } else { cout << "No" << endl; } }