#include #include using namespace std; int main(void){ string s; while(cin>>s){ if(s.find("LOVE")!=string::npos) return cout<<"YES"<