For this Question: There are English words that you want to translate them into pseudo-Latin. To change an English word into pseudo-Latin word, you simply change the end of the English word like the following table. 
English      pseudo-Latin
-a               -as
-i, -y           -ios
-l                -les
-n, -ne       -anes
-o               -os
-r                -res
-t                -tas
-u               -us
-v               -ves
-w              -was 
If a word is not ended as it stated in the table, put ‘-us’ at the end of the word. For example, a word “cup” is translated into “cupus” and a word “water” is translated into “wateres”.

Write a program that translates English words into pseudo-Latin words.The input starts with a line containing an integer, n, where n is the number of English words.
The next n lines contain n English words.
Words use only lowercase alphabet letters and each word contains at least 3 and at most 30 letters.

Constraints
1 <= n <= 20For an English word, print exactly one pseudo-Latin word in a new line.Sample Input
2
toy
engine

Sample Output
toios
engianes 

Sample Input
3
cup
water
cappuccino 

Sample Output
cupus
wateres
cappuccinos, I have written this Solution Code: translate = {"y":"ios","a":"as","i":"ios","l":"les","n":"anes",
 "ne" :"anes","o" :"os","r" :"res","t" :"tas","u" :"us","v" :"ves","w" :"was"}
for i in range(int(input())):
	a = input().rstrip()
	if(a[-2:]!="ne"):
		
		print(a[:-1]+translate.get(a[-1],a[-1]+"us"))
	else:
		print(a[:-2]+translate.get(a[-2:],"us")), In this Programming Language: Python, Now tell me if this Code is compilable or not?