#include using namespace std; int main() { char c; cin >> c; if (c >= '0' and c <= '9') { cout << "YES"; } else { cout << "NO"; } return 0; }