#include<iostream>
using namespace std;

int main()
{
	double width;
	double length;

	cout << "Enter the length of the rectangle >";
	cin >> length;

	cout << "Enter the width of the rectangle >";
	cin >> width;

	cout << "The area of the rectangle is: " << width * length << "\n";
	cout << "The perimeter is: " << 2*width + 2*length << "\n";

	return 0;
}