#1478. python-冒泡排序-输入整数n并输入n个字符串 ,冒泡排序进行按序打印

python-冒泡排序-输入整数n并输入n个字符串 ,冒泡排序进行按序打印

Background

Description

python-冒泡排序-输入整数n并输入n个字符串 ,冒泡排序进行按序打印

Format

Input

Output

Samples

5
abc
ab
pab
a
ba
>
abc ab pab a ba 
a ab abc ba pab 
5
abc
ab
pab
a
ba
<
abc ab pab a ba 
pab ba abc ab a
5
abc
ab
pab
a
ba
=
abc ab pab a ba 
abc ab pab a ba

Limitation

1s, 1024KiB for each test case.