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 yellow train is on the railroad tracks', Sentence2: 'a policy officer talking to a fellow officer next to a busy city street'. Is the frequency of the word 'tracks' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a stop sign sits in front of a building', Sentence2: 'a person is walking with an orange umbrella'. Is the frequency of the word 'building' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'people placed in a picture with bears having a picnic', Sentence2: 'a room service trolley with a pizza and a plate of fries'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
Yes