Perimeter and area#8812

Perimeter and area (Editorial)

Written By : MathModel

As written in the statement we print then where

and

a,b=map(int,input().split())
print(2*(a+b),a*b)