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 brown and white cake a candle and a girl', Sentence2: 'a smiling person taking an elephant ride near the handler'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'man wearing a false beard along with female friend cutting cake together', Sentence2: 'a polar bear taking a swim in the water'. Is the frequency of the word 'together' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a blue small plane standing at the airstrip', Sentence2: 'a bride is standing on the grass under an umbrella'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes