Hard
Merge Two Files
Line 1 has integers for
a.txt; line 2 has integers for b.txt (write each number on its own line, both sorted already). Merge the two files into c.txt in sorted order and print it on one line.Input
Two lines.
Output
One line.
Sample 1
Input
1 4 9 2 3 10
Output
1 2 3 4 9 10
Sample 2
Input
5 5
Output
5 5
Output appears here