#include using namespace std; int main(){ int S; cin>>S; if(400<=S&&S<600){ cout<<"Yes"<