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 view of a door from the middle of a living room', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'ramp' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a red bus drives through the icy streets of an old city', Sentence2: 'a stop sign that has been written on with white ink'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a white plate with a crisp green apple on it', Sentence2: 'a public transit bus near a building on a street'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes