import numpy as np

p = list(map(int, input().split()))

s, d = list(map(lambda x, y: np.array([x, y]), p[::2], p[1::2]))



ans = ""

for _ in range(2):

  v = d - s

  s = d

  d = s + v.dot([[0,1], [-1,0]])

  ans += " " + " ".join(map(str, d))

print((ans[1:]))

p = list(map(int, input().split()))

s, d = list(map(lambda x, y: x + y * 1j, p[::2], p[1::2]))



ans = ""

for _ in range(2):

  v = d - s

  s = d

  d = s + v * 1j

  ans += " {:.0f} {:.0f}".format(d.real, d.imag)

print((ans[1:]))

import numpy as np

p = list(map(int, input().split()))
s, d = list(map(lambda x, y: np.array([x, y]), p[::2], p[1::2]))
ans = ""
for _ in range(2):
    v = d - s
    s = d
    d = s + v.dot([[0, 1], [-1, 0]])
    ans += " " + " ".join(map(str, d))
print((ans[1:]))

p = list(map(int, input().split()))
s, d = list(map(lambda x, y: x + y * 1j, p[::2], p[1::2]))
ans = ""
for _ in range(2):
    v = d - s
    s = d
    d = s + v * 1j
    ans += " {:.0f} {:.0f}".format(d.real, d.imag)
print((ans[1:]))

-import numpy as np - -s, d = list(map(lambda x, y: np.array([x, y]), p[::2], p[1::2])) +s, d = list(map(lambda x, y: x + y * 1j, p[::2], p[1::2])) -    d = s + v.dot([[0, 1], [-1, 0]]) -    ans += " " + " ".join(map(str, d)) +    d = s + v * 1j +    ans += " {:.0f} {:.0f}".format(d.real, d.imag)