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 group of giraffes in a closed in environment near a building', Sentence2: 'a boy is riding a scooter under a roof'. Is the frequency of the word 'environment' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'blue airplane sitting on a runway with two worker trucks in the background', Sentence2: 'two men are singing in different colored striped costumes'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a bathroom with yellow tiles and a tub mirror and a toilet', Sentence2: 'a person jumping off part of a fence with a snowboard'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes