#include #include using namespace std; int main(void){ string s; cin >> s; if(s.length() < 3){ cout << "NO" << endl; return 0; } for(int i=0; i