Easy
Keys in Order
Read n lines
key value into a dictionary and print the keys in alphabetical order on one line.Input
n, then n lines.
Output
One line.
Sample 1
Input
3 b 1 a 2 c 3
Output
a b c
Sample 2
Input
1 x 9
Output
x
Output appears here