Given the task definition, example input & output, solve the new input case.
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.
Example: Sentence: 'two men in a room holding wii remotes'. Is 'remotes' the longest word in the sentence?
Output: Yes
The word 'remotes' has 7 letters which is the maximum in this sentence. So, the answer is 'Yes'.

New input case for you: Sentence: 'an old railroad train letting out puffs of smoke'. Is 'smoke' the longest word in the sentence?
Output:
No