Read two lines of space-separated integers. Print common elements in sorted order.
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
1 2 3 4 5 3 4 5 6 7
Output
3 4 5