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 partially eaten pizza with empty plate in foreground', Sentence2: 'a woman hitting a tennis ball with a tennis racket'. Is the frequency of the word 'partially' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two teddy bears sitting at a wooden table having a meal', 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: No

Example Input: Sentence1: 'a small boy cuddled up with a large stuffed teddy bear', Sentence2: 'a large truck with huge tires made for going through sand dunes'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
Yes