Competitions

# PP2. Week 3: March 15 - 21

# Rectangle

Find the perimeter and the area of a rectangle.

#### Input

Each line is a separate test case that contains the length **n** and the width **m** (**1** ≤ **n**, **m** ≤ **1000**) of a rectangle.

#### Output

For each test case print in one line the perimeter and the area of a rectangle.

Input example #1

3 1 5 3 10 7

Output example #1

8 3 16 15 34 70