#include <iostream>
#include <cstdio>
struct point{
int x,y;
point operator-(){
point ret;
ret.x = -x;
ret.y = -y;
return ret;
}
point operator-(point p2){
point ret;
ret.x = x - p2.x;
ret.y = y - p2.y;
return ret;
}
};
int main() {
point p1, p2;
p1.x = 10, p1.y = 20;
p2.x = 5, p2.y = 5;
point p_one = -p1, p_two = p1-p2 ;
printf("%d %d\n%d %d",p_one.x, p_one.y,p_two.x, p_two.y);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgpzdHJ1Y3QgcG9pbnR7CglpbnQgeCx5OwogCXBvaW50IG9wZXJhdG9yLSgpewoJCXBvaW50IHJldDsKCQlyZXQueCA9IC14OwoJCXJldC55ID0gLXk7CgkJcmV0dXJuIHJldDsKCX0KCXBvaW50IG9wZXJhdG9yLShwb2ludCBwMil7CgkJcG9pbnQgcmV0OwoJCXJldC54ID0geCAtIHAyLng7CgkJcmV0LnkgPSB5IC0gcDIueTsKCQlyZXR1cm4gcmV0OwoJfQp9OwoKaW50IG1haW4oKSB7Cglwb2ludCBwMSwgcDI7CglwMS54ID0gMTAsIHAxLnkgPSAyMDsKCXAyLnggPSA1LCBwMi55ID0gNTsKCXBvaW50IHBfb25lID0gLXAxLCBwX3R3byA9IHAxLXAyIDsKCXByaW50ZigiJWQgJWRcbiVkICVkIixwX29uZS54LCBwX29uZS55LHBfdHdvLngsIHBfdHdvLnkpOwoJcmV0dXJuIDA7Cn0=