Task: Program Execution
Input (English): Sentence1: 'a black and white dog wearing a red coat on a bed', Sentence2: 'a wrought iron gate with a message and a large clock'. Is the frequency of the word 'and' in two sentences equal?
Output (English): Yes