#include < iostream >
using namespace std;
signed main(){
double n, exp = 1e-05;
cin >> n;
if(n >= - exp && n <= 10 + exp){
cout << "YES";
}
else{
cout << "NO";
#include < iostream >
using namespace std;
signed main(){
double n, exp = 1e-05;
cin >> n;
if(n >= - exp && n <= 10 + exp){
cout << "YES";
}
else{
cout << "NO";
}
}