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 can is sitting on top of a dog', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'dog' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'silver spoon in a bowl of oat cereal', Sentence2: 'three wines sit on a wine tasting information card'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a kitchen area with purple walls and black cabinets', Sentence2: 'two plates on a table with some little sandwiches on them'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes