Use sub-program#913

Use sub-program

0.5 seconds
64 megabytes
Very easy

Calculate the sum and product of pairs of real numbers using the subroutine SumDob, which computes the sum and product of two real numbers.

Input

The first line contains a natural number — the number of pairs. Each of the next lines contains two real numbers separated by a space. All input numbers have an absolute value not exceeding .

Output

Print lines, each containing two numbers separated by a space: first the sum, then the product of the corresponding pair. Print each result with exactly digits after the decimal point.

Examples

Example 1

Loading
Loading