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 double decker bus parked with its door open', Sentence2: 'a young man poses for a camera while wearing a tie but no shirt'. Is the frequency of the word 'man' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a little girl is on a skateboard wearing shorts', Sentence2: 'a man with a helmet is on a surfboard'. Is the frequency of the word 'girl' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'buildings with a clock and lampposts along a street', Sentence2: 'a person in a black jacket jumping with skis on'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes