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

Example Input: Sentence1: 'brown cow is looking toward the camera while the other two cow are eating grass', Sentence2: 'the polar bear is laying on the snow'. Is the frequency of the word 'polar' in two sentences equal?
Example Output: 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 tray with four different types of food', Sentence2: 'a phone shows a video of a woman singing'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes