#K43072. Replace Vowels with ASCII Values
Replace Vowels with ASCII Values
Replace Vowels with ASCII Values
Given a string s, replace every vowel in the string with its corresponding ASCII value. The English vowels are a, e, i, o, u (case insensitive). That is, both 'a' and 'A' should be replaced by the ASCII code for 'a' which is $97$, 'e' or 'E' by $101$, 'i' or 'I' by $105$, 'o' or 'O' by $111$, and 'u' or 'U' by $117$. Consonants and non-alphabet characters should remain unchanged.
Example:
Input: Hello, World! Output: H101ll111, W111rld!
Note: The output should be produced by reading from standard input and printing to standard output.
inputFormat
The input consists of a single line containing a string s.
outputFormat
Output a single line, the modified string where each vowel is replaced by its ASCII value.
## sampleHello, World!
H101ll111, W111rld!