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