Counting Vowels

Interview

Time limit2sMemory limit512 MB

Summary
Count how many characters in a lowercase string are one of the vowels a, i, u, e, o.
Level

Easy1 of 10

Topics
String, Implementation
Solved
No attempts yet

Problem

You are given a string S of length N consisting of lowercase English letters. Find the number of vowel characters in S, that is, the total count of a, i, u, e, and o.

Input

Input is given from standard input in the following format.

N
S

Output

Print the number of vowel characters in S, that is, the total count of a, i, u, e, and o.

Constraints

  • 1 ≤ N ≤ 50.
  • S is a string of length N.
  • Each character of S is a lowercase English letter.

Examples2

  1. Example 1

    Input
    8
    joiyosen
    
    Expected output
    4
    
  2. Example 2

    Input
    6
    bitaro
    
    Expected output
    3