text: #Building a basic translator as below:
  #Every vowels will be converted to 'g'.
  #eg:Dog -> Dgg
  
  def translate(phrase):
      translation = ""
      for letter in phrase:
          if letter in "AEIOUaeiou":                          #also if letter.lower() in "aeiou":
              if letter.isupper():
                  translation = translation + "G"
              else:
                  translation = translation + "g"
          else:
              translation = translation + letter
      return translation
  
  print (translate(input("Enter the phrase: ")))
  