Task: Program Execution
Input (English): Sentence: 'a pitcher prepares to throw a ball to a batter and catcher while many spectators look on'. Count the number of consonants in the given sentence.
Output (English): 46