#K16121. Count Vowels in a String

    ID: 24509 Type: Default 1000ms 256MiB

Count Vowels in a String

Count Vowels in a String

Given a string consisting of printable ASCII characters, count the number of vowels (i.e. a, e, i, o, u) in a case-insensitive manner. The result should be output as a dictionary in the exact format: {'a': count, 'e': count, 'i': count, 'o': count, 'u': count} where each count represents the number of occurrences of that vowel in the input string.

The input is provided via standard input (stdin) and the output must be printed to standard output (stdout) with the exact formatting.

inputFormat

A single line of text containing any printable ASCII characters.

outputFormat

A dictionary in the format {'a': count, 'e': count, 'i': count, 'o': count, 'u': count} where each count is the total occurrences of the corresponding vowel (case-insensitive) in the input string.## sample

Hello, World!
{'a': 0, 'e': 1, 'i': 0, 'o': 2, 'u': 0}