#include using namespace std; int main(){ int a,b; cin >> a >> b; char s[b]; for(int i=0;i> s; if(strstr(s,"LOVE")){ cout << "YES"<