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 man feeds something to a giraffe which is craning its neck to eat', Sentence2: 'a person that is doing a trick in the air'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of objects that look like old scissors', Sentence2: 'a airplane view of a big factory some people and cars'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a wrought iron gate with a message and a large clock', Sentence2: 'electric passengers cars waiting at a rail station'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No