#include #define FOR(i,x,y) for(int i=x;i>n>>m; FOR(i,0,n){ cin>>s; FOR(j,0,m-3){ if(s.substr(j,4)=="LOVE"){ cout<<"YES"<