#This is a simple exercise that converts 1 language to "draft" language. 
#The draft language maps vowels to g.

##Defining the Translate function
def Translate(phrase):
    translation = ""
    for i in phrase:
        if i.lower() in "aeiou":
           if i.isupper():
            translation += "G"
           else:
            translation += "g"
        else:
           translation += i
    return translation


## Main fn.
print(Translate( input("Enter a phrase: ") ))

