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 prop plane with one person inside is sitting on a runway', Sentence2: 'this is how a lunch break took place many years ago'. Is the frequency of the word 'plane' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'restored antique cars line up in a row at outdoor auto show', Sentence2: 'a dog jumping up into the air catching a frisbee'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man falls down while skating on a slope', Sentence2: 'a man catches a wave while surfing the ocean'. Is the frequency of the word 'while' in two sentences equal?
Example Output:
Yes