# Program to compute the perimeter of Trapezoid 


print("Enter the value of base:")
a=int(input())
b=int(input())
print("Enter the value of side:")
c=int(input())
d=int(input())
perimeter=a+b+c+d
print("Perimeter of the Trapezoid = ",perimeter)
