CT2053

The Azure Consonant Tally

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

The harbor bell rings at the shipyard of Keelwind; Kian weighs the day's banners manifests and starts the calculations. Task: Read a lowercase string s and print the number of consonants. Input format: One line with a single lowercase string s. Output format: Print the consonant count. Constraints: 1 <= |s| <= 197; s contains lowercase English letters.

Example 1:

Input: dnqqvotbdcvzhcrmbfkfbsgeydqnxvshwfanbikmqldzxrahkksxnevyefwdobpswkuhgidbyulzahgxecdxlucgdwhghzezntiklgcsgwdwwe
Output: 93

Example 2:

Input: dykebnxddsyzhffzyrknlkvsveseoqmajmrwvdcycgerecotyqphyopnssdevkoajdfgnkcmgckzgncogkni
Output: 70

Example 3:

Input: lkxznkxuzjiatuaxvlutcszknbfdpgspuwwaranaajbzpowdohztkbdykkvkwjcpiutifqdpcrducqedmibnhmzavpasaxbkcxvyjfpdtuqbsuzltlewrfrmercmjqpzwupghtyheaqhywhxtiakkbqkvzzmeizimhjnzjljtnhregsavuvxexkkuebdwsjjvvzjq
Output: 157

Constraints:

1 <= |s| <= 197; s contains lowercase English letters.

Loading...
Test Cases:No test cases
No test cases available.