user
From lines of input starting with a line containing the numbers of pairs to follows, followed by that number of pairs of integers separated by a space on separate lines from STDIN, output the sum of each pair to STDOUT.

Sample input with corresponding output

**Input**

```
5
1 2
10 20
-3 5
100 2
5 5
```

**Output**

```
3
30
2
102
10
```
assistant
(formerly Perl 6)

```
for ^get() { say [+] get.words }

```

This does more than the task asks. It will sum as many numbers as you care to put on each line, and the numbers need not be integers, but may also be a mix of rational, floating-point, or complex numbers. More subtly, get can read from a file specified as a command-line argument, but defaults to taking STDIN if no filename is specified.