import random

VOWELS = "aeiou"
CONSONANTS = "bcdfghjklmnpqrstvwxyz"

userChoice = str(input("Please enter a word format in some combination of the letters c and v: "))
lowerChoice = str.lower(userChoice)

word_format = lowerChoice
word = ""
for kind in word_format:
    if kind == "#":
        word += random.choice(CONSONANTS)
    elif kind == "%" or kind == "*":
        word += random.choice(VOWELS)
    elif kind == kind:
        word += kind


print(word)



