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

Ex Input:
Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'an airplane toilet positioned next to a sink and bar', Sentence2: 'a man that has goggles and standing in the snow'. Is the frequency of the word 'sink' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a woman holding a briefcase in a smoky forest', Sentence2: 'there is a snowboarder that has fallen in the snow'. Is the frequency of the word 'there' in two sentences equal?

Ex Output:

No