from sys import stdin def main(): S = stdin.read() if 'LOVE' in S: print('YES') else: print('NO') main()