#include <iostream>
#include <cstdio>
using namespace std;
struct point{
int x,y;
};
point operator-(point p1){
point ret;
ret.x = -p1.x;
ret.y = -p1.y;
return ret;
}
point operator-(point p1,point p2){
point ret;
ret.x = p1.x - p2.x;
ret.y = p1.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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpzdHJ1Y3QgcG9pbnR7CglpbnQgeCx5OwogCn07CnBvaW50IG9wZXJhdG9yLShwb2ludCBwMSl7Cglwb2ludCByZXQ7CglyZXQueCA9IC1wMS54OwoJcmV0LnkgPSAtcDEueTsKCXJldHVybiByZXQ7Cn0KcG9pbnQgb3BlcmF0b3ItKHBvaW50IHAxLHBvaW50IHAyKXsKCXBvaW50IHJldDsKCXJldC54ID0gcDEueCAtIHAyLng7CglyZXQueSA9IHAxLnkgLSBwMi55OwoJcmV0dXJuIHJldDsKfQppbnQgbWFpbigpIHsKCXBvaW50IHAxLCBwMjsKCXAxLnggPSAxMCwgcDEueSA9IDIwOwoJcDIueCA9IDUsIHAyLnkgPSA1OwoJcG9pbnQgcF9vbmUgPSAtcDEsIHBfdHdvID0gcDEtcDIgOwoJcHJpbnRmKCIlZCAlZFxuJWQgJWQiLHBfb25lLngsIHBfb25lLnkscF90d28ueCwgcF90d28ueSk7CglyZXR1cm4gMDsKfQ==