#include<stdio.h>
#include<string.h>
int n;
__int64 x1, y1;
__int64 x[1024], y[1024];
__int64 sum_x, sum_y;
int main()
{
while(scanf("%d", &n)==1)
{
printf("%d", n);
int i;
sum_x = sum_y = 0;
for(i = 1; i <= n; i++)
{
scanf("%I64d%I64d", &x[i], &y[i]);
sum_x += x[i], sum_y += y[i];
}
for(i = 2; i <= n ; i+=2)
sum_x -= 2*x[i], sum_y -= 2*y[i];
x[0]=sum_x, y[0]=sum_y;
printf(" %I64d.000000 %I64d.000000", x[0], y[0]);
for(i = 1; i < n; i++)
{
x[i]=2*x[i]-x[i-1];
y[i]=2*y[i]-y[i-1];
printf(" %I64d.000000 %I64d.000000", x[i], y[i]);
}
printf("\n");
}
return 0;
}
#include<string.h>
int n;
__int64 x1, y1;
__int64 x[1024], y[1024];
__int64 sum_x, sum_y;
int main()
{
while(scanf("%d", &n)==1)
{
printf("%d", n);
int i;
sum_x = sum_y = 0;
for(i = 1; i <= n; i++)
{
scanf("%I64d%I64d", &x[i], &y[i]);
sum_x += x[i], sum_y += y[i];
}
for(i = 2; i <= n ; i+=2)
sum_x -= 2*x[i], sum_y -= 2*y[i];
x[0]=sum_x, y[0]=sum_y;
printf(" %I64d.000000 %I64d.000000", x[0], y[0]);
for(i = 1; i < n; i++)
{
x[i]=2*x[i]-x[i-1];
y[i]=2*y[i]-y[i-1];
printf(" %I64d.000000 %I64d.000000", x[i], y[i]);
}
printf("\n");
}
return 0;
}