#C14917. Length of the First Vowel-Initiated Word

    ID: 44619 Type: Default 1000ms 256MiB

Length of the First Vowel-Initiated Word

Length of the First Vowel-Initiated Word

Given a list of words, identify the first word that begins with a vowel. The vowels are defined as \( A, E, I, O, U \) (both uppercase and lowercase). If such a word exists, print its length; otherwise, print None.

For example, if the input is "zebra apple computer orange", the first word starting with a vowel is "apple", which has a length of 5. If no word starts with a vowel, the output should be None.

inputFormat

The input is given via stdin in the following format:

  • The first line contains an integer \( n \) representing the number of words.
  • The second line contains \( n \) words separated by spaces.

outputFormat

Output the length of the first word that starts with a vowel. If no such word exists, print None. The output should be written to stdout.

## sample
4
zebra apple computer orange
5