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 close up of a street sign with leaves and a sky background', Sentence2: 'two men standing in mid air wearing sports uniforms with one man reaching for a red frisbee'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'there is no image here to provide a caption for', Sentence2: 'there is some pet food in the floor in an empty kitchen'. Is the frequency of the word 'pet' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a meal is sitting on plates and a tray', Sentence2: 'a man wearing a uniform and riding a black horse'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No