Go Back
Doctor Strange to the rescue (100)
Description

The evil has finally revealed himself, Rahul wants to extinct the human race.
The Ironman is facing a bit of a trouble fighting against Rahul.

Thor has some secret words which can help Ironman defeat Rahul easily. But with his programming skills, Rahul hacked the messages of Thor and disturbed the words sent by him.

But Doctor Strange comes to the rescue. He comes up with his magical powers and finds a way to convert the disturbed words back to the normal words. He says that in a given disturbed word, if we remove all the occurrences of the alphabets ‘r’ , ‘a’ , ‘h’ , ‘u’ , ‘l’ , we will get the normal word sent by Thor.
But as Doctor Strange is not so good at programming, he asks for your help to find out the initial word sent by Thor, using this conversion.

Input

The first line of the input consists of a single integer N, denoting the number of words sent by Thor. (which are eventually disturbed by Rahul)
The next N lines follow.
The ith of these lines describe a disturbed word. (1 <= i <= N)
(all words have only lowercase alphabets)
(the length of the words doesn’t exceed 30 and is not less than 1)

Output

Output N lines.
The ith of these lines should describe the initial word sent by Thor corresponding to the ith of the disturbed words. (1 <= i <= N)

Constraints

1 <= N <= 50
All words have only lowercase alphabets
The length of the words doesn’t exceed 30 and is not less than 1

Example
Copy Input

Input:
6
avengers
batman
sies
rahul
lol
programming

Output:
venges
btmn
sies

o
pogmming

Explanation

Let us take the example of “batman” , removing all instances of ‘r’ , ‘a’ , ‘h’ , ‘u’ , ‘l’ ,
We get “btmn”.
Similarly “sies” has no occurrence of the alphabets ‘r’ , ‘a’ , ‘h’ , ‘u’ , ‘l’ . Therefore the output is “sies”.
Also, all the alphabets in “rahul” have the occurrence of the alphabets ‘r’ , ‘a’ , ‘h’ , ‘u’ , ‘l’ .
Therefore the output is an empty line.

August Queue
36 hours long contest



Announcement
Give your feedback here: https://goo.gl/forms/PUTRfCJPftc9UTUj1

Problem Tags
adhoc,strings

Supported by our Coding Partner