Comparison of words

Write a program that reads two words and tells their lexicographic
order.

Input

Input consists of two words a and b, made up of only lowercase letters.

Output

Print a line telling if a < b, a > b or a = b, following the format of
the examples exactly.

Observation

If you use a modern programming language, this exercise should be
trivial.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:50:30.561Z

© Jutge.org, 2006–2026.
https://jutge.org
