#include using namespace std; int main(){ int S; cin >> S; cout << (S / 100 == 4 || S / 100 == 5 ? "Yes" : "No"); }