In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'this is a man doing a trick on a board', Sentence2: 'a rusty sign is framed against the backdrop of a building'. Is the frequency of the word 'building' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'motor cycles parked at a rural gas station', Sentence2: 'five ladies sitting together at a tale outside a restaurant'. Is the frequency of the word 'motor' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'girls running on the field going after the soccer ball', Sentence2: 'a driver holds the wheel of the vehicle with one hand while text messaging on a mobile phone with the other'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes