#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; cout << (S[0] == '4' || S[0] == '5'? "Yes": "No") << endl; return 0; }