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

Example Input: Sentence1: 'two young girls laying in bed under a blanket', Sentence2: 'a fire hydrant that is sitting on a sidewalk'. Is the frequency of the word 'under' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a picture of big ben in the london skyline', Sentence2: 'two mallards float and drink water in a shallow pool'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a beautiful well lit bedroom with a bed in the middle', Sentence2: 'a female with blue hair and a yellow umbrella'. Is the frequency of the word 'bedroom' in two sentences equal?
Example Output:
No