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

Input: Consider Input: Sentence1: 'a man flying through the air while riding a skateboard', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'a' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a brown and white cake a candle and a girl', Sentence2: 'a smiling person taking an elephant ride near the handler'. Is the frequency of the word 'a' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a man windsurfing on a large body of water', Sentence2: 'a man in a suit walking across a baseball field'. Is the frequency of the word 'man' in two sentences equal?
Output: Yes