
x    = int(input())
y    = int(input())
z    = int(input())
w    = int(input())

r = sobre(x,y,z,w)

print(r)

