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 laying on a pile of snow next to a snowboard inside of a building', Sentence2: 'a woman stands on the grass with a frisbee as her dog patiently waits'. Is the frequency of the word 'to' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a young boy who is eating a chocolate piece of cake', Sentence2: 'a male wearing a nice longsleeve shirt and tie with political buttons attached to the front'. Is the frequency of the word 'cake' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a green car on a road among several motorcycles', Sentence2: 'a motorbike is decorated with a plus bear horn and other toys'. Is the frequency of the word 'a' in two sentences equal?
Output: Yes