#include using namespace std; int main() { int a; cin >> a; int b = a/100; if(b==4||5){ cout << "Yes"; } else{ cout << "No"; } }