#K34307. Count Vowels in a String

    ID: 25280 Type: Default 1000ms 256MiB

Count Vowels in a String

Count Vowels in a String

You are given a string s. Your task is to count the occurrences of every vowel in s where vowels are defined as \(a, e, i, o, u\). Only those vowels that appear in the string should be included in the output.

The output should be in the form of a dictionary (or equivalent data structure) with keys as vowels and values as the corresponding counts. The dictionary must be printed in the following format:

{'a': count, 'e': count, 'i': count, 'o': count, 'u': count}

If no vowel is present in the string, output an empty dictionary: {}.

Note that the keys in the output should appear in lexicographical order. For instance, for the input aeiou, the expected output is {'a': 1, 'e': 1, 'i': 1, 'o': 1, 'u': 1}.

inputFormat

Input is read from standard input (stdin). It consists of a single line containing the string s.

outputFormat

Print to standard output (stdout) a dictionary that maps each vowel present in the string to its number of occurrences. The dictionary should be formatted exactly as in the examples, with vowels in lexicographical order. If no vowel exists in the string, output {}.

## sample
aeiou
{'a': 1, 'e': 1, 'i': 1, 'o': 1, 'u': 1}