#Đếm số nguyên âm, số phụ âm trong 1 string.
s = 'asfasfhBAS734@o&*#'
vowels = 'ueoai'
consonants = 'qwrtypsdfghjklzxcvbnm'
s = s.lower()
a = 0
# a: The number of vowels
b = 0
# b: The number of consonants
for w in s:
if w in vowels:
a += 1
elif w in consonants:
b += 1
print('The number of vowels = {0}\nThe number of consonants = {1}'.format(a,b))