import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

void main() {
    auto a = readints;
    int x1 = a[0], y1 = a[1], x2 = a[2], y2 = a[3];

    int x = x2;
    int y = y2;
    int dx = x2 - x1;
    int dy = y2 - y1;
    for (int i = 0; i < 2; i++) {
        swap(dx, dy);
        dx *= -1;
        x += dx;
        y += dy;
        write(x, " ", y, " ");
    }
    writeln();
}
