Task: Program Execution
Input (English): Sentence: 'the two men are riding the elephant while the elephant is walking in the water'. Count the number of consonants in the given sentence.
Output (English): 40