#include using namespace std; int main() { // your code goes here int x; cin >> x; if (x >= 750) cout << "YES\n"; else cout << "NO\n"; return 0; }