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 nand with a slice of pizza that has spaghetti wrapped around it with  a beer in the background', Sentence2: 'a couple holding a knife to cut the wedding cake together'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'cooking some carrots with some seasoning on a flat pan', Sentence2: 'there is a bird that is standing in grass and water'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a tennis player in a black shirt playing tennis', Sentence2: 'a person in a black jacket jumping with skis on'. Is the frequency of the word 'black' in two sentences equal?

Ex Output:

Yes