#include <iostream>
using namespace std;

int main()

{ 
    double length, width;
    double Area, Perimeter;

    cout << "enter the length ";
    cin >> length;
    cout << "enter the width ";
    cin >> width;
    Perimeter = 2 * (width + length);
    Area = length * width;
    cout << "the area is " << Area << endl;
    cout << "the perimeter is " << Perimeter << endl;

 
    return 0;
}