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 person carrying a surfboard on a beach', Sentence2: 'the seat of the toilet is made out of a dark wood'. Is the frequency of the word 'dark' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man flying through the air while riding a skateboard', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'yachts in a harbor at sunset with a city in the background', Sentence2: 'a persons two hands are holding a game controller'. Is the frequency of the word 'are' in two sentences equal?
Example Output:
No