~/algor $ cat problems/string-satrlarni-solishtirish
Compare two words
Easy
1000 ms
128 MB
28%
Two words $a$ and $b$ of lowercase Latin letters are given. Compare them in lexicographic (dictionary) order: the words are compared letter by letter, and the word whose first differing letter comes earlier in the alphabet goes first; if one word is the beginning of the other, the shorter one goes first. Print < if $a$ goes first, > if $b$ goes first, and = if the words are equal.
Input
The first line contains $a$, the second line $b$.
Output
One character: <, > or =.
Note
$1 \le |a|, |b| \le 10^{5}$
$a$ and $b$ consist of lowercase Latin letters only
Examples
Input #1
kitob kitobxon
Output #1
<
Input #2
olma anor
Output #2
>