#include using namespace std; int main() { string s; cin >> s; bool f = (s[0] == '4' || s[1] == '5'); cout << (f ? "Yes" : "No") << endl; return 0; }