In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.

Ex Input:
Sentence: 'a journal notebook keys book and backpack on a beige couch'. Is 'notebook' the longest word in the sentence?

Ex Output:
Yes


Ex Input:
Sentence: 'a person is holding a black cellphone in their hand'. Is 'a' the longest word in the sentence?

Ex Output:
No


Ex Input:
Sentence: 'a red headed woman is relaxing on a bench'. Is 'relaxing' the longest word in the sentence?

Ex Output:

Yes



In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.

Ex Input:
Sentence: 'a journal notebook keys book and backpack on a beige couch'. Is 'notebook' the longest word in the sentence?

Ex Output:
Yes


Ex Input:
Sentence: 'a person is holding a black cellphone in their hand'. Is 'a' the longest word in the sentence?

Ex Output:
No


Ex Input:
Sentence: 'a red headed woman is relaxing on a bench'. Is 'relaxing' the longest word in the sentence?

Ex Output:

user
Yes



assistant
In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.

Ex Input:
Sentence: 'a journal notebook keys book and backpack on a beige couch'. Is 'notebook' the longest word in the sentence?

Ex Output:
Yes


Ex Input:
Sentence: 'a person is holding a black cellphone in their hand'. Is 'a' the longest word in the sentence?

Ex Output:
No


Ex Input:
Sentence: 'a red headed woman is relaxing on a bench'. Is 'relaxing' the longest word in the sentence?

Ex Output:

Yes


