#C14960. Replace Vowels in a String

    ID: 44667 Type: Default 1000ms 256MiB

Replace Vowels in a String

Replace Vowels in a String

Given a string, replace every vowel (i.e., a, e, i, o, u in both lowercase and uppercase) with the character '*'. The replacement character must maintain the original string's formatting. For instance, if a character is a vowel then it is replaced according to the following set ( V = {a, e, i, o, u, A, E, I, O, U} ). Your task is to print the modified string. Please note that the input will be provided through standard input and you must output your answer to standard output.

inputFormat

A single line string consisting of letters, spaces, and punctuation marks is provided as input from the standard input.

outputFormat

Print the string after replacing every vowel with '*' as described.## sample

Hello, World!
H*ll*, W*rld!