TASK DEFINITION: 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.
PROBLEM: Sentence: 'a bathroom has an above ground enclosed bathtub'. Is 'bathroom' the longest word in the sentence?

SOLUTION: Yes

PROBLEM: Sentence: 'a bed topped with blankets and sheets next to a door'. Is 'blankets' the longest word in the sentence?

SOLUTION: Yes

PROBLEM: Sentence: 'a large giraffe standing next to a man pushing a bail of hay on a cart'. Is 'next' the longest word in the sentence?

SOLUTION:
No