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 stop sign under a street lamp is shining at night', Sentence2: 'a young man poses for a camera while wearing a tie but no shirt'. Is the frequency of the word 'shirt' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people riding kite boards on top of the ocean', Sentence2: 'pedestrians walk in the street passed a stop sign'. Is the frequency of the word 'in' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'an elephant wearing a red sheet in front of a building', Sentence2: 'an airplane toilet positioned next to a sink and bar'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No