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

Input: Consider Input: Sentence1: 'a birthday cake with a topper that reads happy birthday forresto', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'bears' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a table topped with a plate of sandwiches and a cup of coffee', Sentence2: 'a group of people walking around a public space'. Is the frequency of the word 'people' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a skate boarder pauses at the top of a hill', 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?
Output: Yes