'use strict';

const main = (input) => {
    const nums = input.split(' ');
    const x1 = parseInt(nums[0], 10);
    const y1 = parseInt(nums[1], 10);
    const x2 = parseInt(nums[2], 10);
    const y2 = parseInt(nums[3], 10);
    const xdiff = x2 - x1;
    const ydiff = y2 - y1;
    const x3 = x2 - ydiff;
    const y3 = y2 + xdiff;
    const x4 = x3 - xdiff;
    const y4 = y3 - ydiff;
    console.log(x3 + ' ' + y3 + ' ' + x4 + ' ' + y4);
};

const isTest = false;

if (isTest) {
    main('0 0 0 1');
    main('2 3 6 6');
    main('31 -41 -59 26');
} else {
    main(require('fs').readFileSync('/dev/stdin', 'utf8'));
}