#K81462. All Vowels or Consonants
All Vowels or Consonants
All Vowels or Consonants
You are given a string s of length N (where \(1 \leq N \leq 50\)) consisting only of lowercase English letters. Your task is to determine whether all the characters in the string are either vowels or consonants.
If all characters are vowels or all are consonants, output "Yes". Otherwise, output "No".
For example, if s = "aeiou"
, then the output should be "Yes" since all characters are vowels. And if s = "hello"
, then the output should be "No" because it contains both vowels and consonants.
inputFormat
The input consists of a single line containing the string s. The string consists only of lowercase letters ('a'-'z').
outputFormat
Output a single line containing either "Yes" if all characters in s are vowels or all are consonants, or "No" otherwise.
## sampleaeiou
Yes