Skip to content

母音を数える (Counting Vowels)

Unrated
日本語

Language

Contribute a translation
Time limit
2000 ms
Memory limit
1024 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

長さ \(N\) の英小文字からなる文字列 \(S\) が与えられる.\(S\) のうち母音字の個数,つまり a,i,u,e,o の個数の総和を求めよ.

Constraints

  • \(1 \leqq N \leqq 50\).
  • \(S\) は長さ \(N\) の文字列である.
  • \(S\) の各文字は英小文字である.

Input

入力は以下の形式で標準入力から与えられる.

\(N\)
\(S\)

Output

\(S\) のうち母音字の個数,つまり a,i,u,e,o の個数の総和を出力せよ.

Examples

Sample input 1
8
joiyosen
Sample output 1
4

母音字は _oi_o_e_ の \(4\) 個である.

Sample input 2
6
bitaro
Sample output 2
3

母音字は _i_a_o の \(3\) 個である.

Notes

Tags

No tags yet

Source