#include #include #include using namespace std; int main(){ unsigned long long N,n,sum1=0; string s; cin >> s; if(s.find("str")>=0){ cout << "YES"; } else{ cout << "NO"; } return 0; }