You are given a string s.
Let v be the number of vowels in s, where vowels are the characters 'a', 'e', 'i', 'o', and 'u'.
Let c be the number of consonants in s, where consonants are all other lowercase English letters.
Characters that are digits or spaces are neither vowels nor consonants.
The score of s is calculated as follows:
If
If
Return the score of s.
Constraints:
s.length
s consists of lowercase English letters, spaces, and digits.
You are given a string s.
Let v be the number of vowels in s, where vowels are the characters 'a', 'e', 'i', 'o', and 'u'.
Let c be the number of consonants in s, where consonants are all other lowercase English letters.
Characters that are digits or spaces are neither vowels nor consonants.
The score of s is calculated as follows:
If
If
Return the score of s.
Constraints:
s.length
s consists of lowercase English letters, spaces, and digits.