Question

Write a function to count vowels and consonants of a string and return an object?

Login to Submit

Examples

Input: "math"
Output: {"vowels": 1, "consonants": 3}