LearnPy Hub
← Arena
EasyRating 900

Shortest Word

Print the shortest word in the sentence. If several are equally short, print the first.

Input

One line of words.

Output

One word.

Sample 1

Input
Python is a great language
Output
a

Sample 2

Input
hello
Output
hello
solution.py
Output appears here
Shortest Word · Python Arena problem · LearnPy Hub