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 man laying on a pile of snow next to a snowboard inside of a building', Sentence2: 'a woman stands on the grass with a frisbee as her dog patiently waits'. Is the frequency of the word 'to' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a brown horse standing behind a chain link fence', Sentence2: 'a skate boarder pauses at the top of a hill'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a young woman walking on a sidewalk next to a firehydrant', Sentence2: 'a clock tower in front of some buildings'. Is the frequency of the word 'some' in two sentences equal?
Example Output:
No