#3Easy
Rectangle
Time: 1 s · Memory: 256 MB
- Input and output
Statement
You are given the sides and of a rectangle. Find its area and perimeter .
Input format
A single line with two integers and ().
Output format
A single line with two integers separated by a space: first , then .
Examples
Input
3 4
Output
12 14
Input
5 5
Output
25 20
Note
Printing several answers on one line separated by spaces is needed in many of the following problems.
