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 beautiful well lit bedroom with a bed in the middle', Sentence2: 'a person holding a mini skate board wearing safety gear'. Is the frequency of the word 'middle' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a brown bull is standing in his pen and some trees', Sentence2: 'a road sign sitting next to a road and a building'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a persons two hands are holding a game controller', Sentence2: 'the two dogs are playing outside with a frisbee'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No