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 young boy stands atop a beginner skateboard in the house', Sentence2: 'signs in front of a diner on the streets of a busy and compact road'. Is the frequency of the word 'and' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a black and white photo of a bus', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a picture of a dish consisting of a variety of vegetables and lemons', Sentence2: 'a heard of elephants with their backs turned'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No