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

Example Input: Sentence1: 'the motorcycle is equipped with all the latest gadgets', Sentence2: 'a group of people kiteboarding on top of the ocean'. Is the frequency of the word 'latest' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people in the street carrying umbrellas', Sentence2: 'a big tower that has a clock on top'. Is the frequency of the word 'has' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a bathroom is in terrible shape and is in need of a deep cleaning', Sentence2: 'a small boy cuddled up with a large stuffed teddy bear'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes