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 nand with a slice of pizza that has spaghetti wrapped around it with  a beer in the background', Sentence2: 'a couple holding a knife to cut the wedding cake together'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a young woman ski is down a slope on the back of a sled', Sentence2: 'a vase of roses sits alone on a table'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a coffee table stands in a living room', Sentence2: 'two big sea crabs some greens and noodles and two drinks'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No