a,b,c,d=list(map(int,input().split()));e=c-a;f=d-b;print((c-f,d+e,a-f,b+e))
a,b,c,d=list(map(int,input().split()));print((b+c-d,-a+c+d,a+b-d,-a+b+c))
a, b, c, d = list(map(int, input().split()))
e = c - a
f = d - b
print((c - f, d + e, a - f, b + e))

a, b, c, d = list(map(int, input().split()))
print((b + c - d, -a + c + d, a + b - d, -a + b + c))

-e = c - a -f = d - b -print((c - f, d + e, a - f, b + e)) +print((b + c - d, -a + c + d, a + b - d, -a + b + c))