In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'people in a cactus garden standing on a stone walkway', Sentence2: 'a couple holding a knife to cut the wedding cake together'. Is the frequency of the word 'garden' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a car and a bus are merging into traffic together', Sentence2: 'a woman brushing her teeth and a towel on her head'. Is the frequency of the word 'on' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a kite hitting a door of an establishment', Sentence2: 'a girl wearing a hat and dress while holding a purse that looks like a clock'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No