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 tall red light house by the water and a walkway', Sentence2: 'a couple of giraffes stand next to each other'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man laying on a pile of snow next to a snowboard inside of a building', Sentence2: 'a woman stands on the grass with a frisbee as her dog patiently waits'. Is the frequency of the word 'to' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a smiling young woman with open yellow umbrella standing in front of a castlelike building', Sentence2: 'a close up of a television remote being pointed at a tv'. Is the frequency of the word 'front' in two sentences equal?
Example Output:
No