1900: Comparison characters

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:21 解决:17

题目描述

Everyone knows the order of words in the dictionary. Now give you two words, please output them in dictionary order.

输入

There are several lines of input, with two words per line.

输出

Each line outputs them in lexicographic order.


样例输入 复制

you me 
red green 
ohh yes 
ab aa

样例输出 复制

me you
green red
ohh yes
aa ab