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