x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
Width = max(x1, x2) - min(x1, x2)
Height = max(y1, y2) - min(y1, y2)
area = Width * Height
perimeter = 2 * (Width + Height)
print('Area = ', area)
print('Perimeter = ', perimeter)
x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
a = abs(x1 - x2)
b = abs(y1 - y2)
area = a * b
perimeter = 2 * (a + b)
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))
x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
a = abs(x1 - x2)
b = abs(y1 - y2)
area = a * b
perimeter = 2 * (a + b)
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))

901b48fc5e4bf18ce9b17a4598185ec277dd2bce
<mask token>

<mask token>
print('Area = ', area)
print('Perimeter = ', perimeter)
<mask token>
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))
<mask token>
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))

x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
Width = max(x1, x2) - min(x1, x2)
Height = max(y1, y2) - min(y1, y2)
area = Width * Height
perimeter = 2 * (Width + Height)
print('Area = ', area)
print('Perimeter = ', perimeter)
x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
a = abs(x1 - x2)
b = abs(y1 - y2)
area = a * b
perimeter = 2 * (a + b)
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))
x1 = float(input())
y1 = float(input())
x2 = float(input())
y2 = float(input())
a = abs(x1 - x2)
b = abs(y1 - y2)
area = a * b
perimeter = 2 * (a + b)
print('Area = ' + str(area))
print('Perimeter = ' + str(perimeter))
