##String with a Twist
##Link to this Questions
##
##1. The program will recieve 3 English words inputs from STDIN
##
##These three words will be read one at a time, in three separate line
##The first word should be changed like all vowels should be replaced by %
##The second word should be changed like all consonants should be replaced by #
##The third word should be changed like all char should be converted to upper case
##Then concatenate the three words and print them
##Other than these concatenated word, no other characters/string should or message should be written to STDOUT
##
##For example if you print how are you then output should be h%wa#eYOU.
##
##You can assume that input of each word will not exceed more than 5 chars



a = str(input("enter 1st string "))
b = str(input("enter 2nd string "))
c = str(input("enter 3rd string "))

d = ["a","e","i","o","u","A","E","I","O","U"]

for i in a:
    if i in d:
        x = a.replace(i,"%")

for j in b:
    if j not in d:
        y = b.replace(j,"#")

z = c.upper()


print(x+y+z)



















