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

Example Input: Sentence1: 'a group of objects that look like old scissors', Sentence2: 'a box of cookies with a plastic bear with a bag over its head'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'in an old black and white photo men are riding horses', Sentence2: 'a person is sleeping on one side of the bed'. Is the frequency of the word 'person' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a train that is passing by in the day time', Sentence2: 'a large air plane on an air port'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes