S = open(0).read() print(['NO', 'YES']['LOVE' in S])