Problem A
Babelfish
You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.
Input
Input consists of up to
Output
Output is the message translated to English, one word per line. Foreign words not in the dictionary should be translated as “eh”.
Sample Input 1 | Sample Output 1 |
---|---|
dog ogday cat atcay pig igpay froot ootfray loops oopslay atcay ittenkay oopslay |
cat eh loops |