Nick wants to send a word "love" to his girlfriend Ritu. However, not good at English, Nick sends a random string to Ritu. Ritu has a problem that she reads each line, each word in reverse order. Ritu will think nick has sent her word "love" if she
is able to delete some characters and able to read love in reverse way ,as she reads
For example in this efgvoklii Ritu will find love whereas not in this ljkovehh.
First line will contain number of test cases t(t<=10).
Next t lines will contain a string S (length of string <=1000).