We’re preparing your current view and syncing the latest data.
Given a string consisting of lowercase alphabets, calculate a score based on vowel and consonant positions or counts as described in the problem. The exact computation method depends on the original problem statement.
A single line containing the string consisting of lowercase English alphabets.
An integer representing the calculated vowel consonant score.
1 <= length of string <= 10^5
Example 1
Input
leetcode
Output
11
Explanation
Calculate score by counting vowels and consonants as per the problem's scoring rules.