Task: Program Execution
Input (English): Sentence: 'a white and gray cat lying on a yellow blanket'. Count the number of consonants in the given sentence.
Output (English): 24