AlgoBazaAlgoBaza
Back to tasks

First of three

Beginner

Python for kids 路 Lesson 27: Comparing text

Problem Statement

Read three words and print the one that comes earliest in alphabetical order.

Input Format

Three words, each on its own line (small letters only).

Output Format

Exactly the text from the example.

Examples
Example 1

Input

pies
kot
zebra

Output

kot