Problem Description

Print the longest word in the line (if tie, print the first).

Input Format

One line string s.

Output Format

One word.

Sample Test Case

Input:
I love programming a lot
Output:
programming

Constraints

Total chars

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next