Problem Description

Read n pairs (a,b). For each pair swap them and output. This is to practice variable assignment quickly.

Input Format

First line n. Next n lines: a b.

Output Format

n lines swapped.

Sample Test Case

Input:
3 1 2 5 9 -1 7
Output:
2 1 9 5 7 -1

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next