{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ch1\u003e\u003c/h1\u003e\n\n\u003cp\u003e\nWrite a program which calculates the area and perimeter of a given rectangle.\n\u003c/p\u003e\n\n\n\u003ch2\u003eInput\u003c/h2\u003e\n\n\u003cp\u003e\n The length \u003cvar\u003ea\u003c/var\u003e and breadth \u003cvar\u003eb\u003c/var\u003e of the rectangle are given in a line separated by a single space.\n\u003c/p\u003e\n\n\u003ch2\u003eOutput\u003c/h2\u003e\n\n\u003cp\u003e\nPrint the area and perimeter of the rectangle in a line. The two integers should be separated by a single space.\n\u003c/p\u003e\n\n\u003ch2\u003eConstraints\u003c/h2\u003e\n\n\u003cul\u003e\n \u003cli\u003e 1 ≤ \u003cvar\u003ea\u003c/var\u003e, \u003cvar\u003eb\u003c/var\u003e ≤ 100\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eSample Input 1\u003c/h2\u003e\n\u003cpre\u003e3 5\n\u003c/pre\u003e\n\u003ch2\u003eSample Output 1\u003c/h2\u003e\n\u003cpre\u003e15 16\n\u003c/pre\u003e"}}]}