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

Example Input: Sentence1: 'this is a man doing a trick on a board', Sentence2: 'a group of objects that look like old scissors'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a picture of a kid that is on the ground', Sentence2: 'a zebra standing alone chewing on a tree branch'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man windsurfing on a large body of water', Sentence2: 'a kitchen counter sitting in the middle of a kitchen'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes