Task: Program Execution
Input (English): Sentence: 'there are many ties hanging on a rope'. Count the number of consonants in the given sentence.
Output (English): 17