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 terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'young kitten nestled in blankets with curious face', Sentence2: 'a bed room has red and white bedding and a decoration on the wall'. Is the frequency of the word 'bed' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'man on skateboard beside a milk crate in driveway', Sentence2: 'batter at baseball game concentrating and getting ready to swing'. Is the frequency of the word 'driveway' in two sentences equal?
Example Output:
No