LearnPy Hub
← Tuples & Sets problems
Medium

In Exactly One

Read two lines of integers. Print the values that appear in exactly one of the two lines, in increasing order.

Input

Two lines.

Output

One line.

Sample 1

Input
1 2 3
2 3 4
Output
1 4

Sample 2

Input
1
2
Output
1 2
solution.py
Output appears here
In Exactly One · Python practice problem · LearnPy Hub