#include <bits/stdc++.h>
#define _for(i, a, b) for (int i = (a); i < (b);++i)
#define _rep(i, a, b) for (int i = (a); i <= (b);++i)
using namespace std;
struct Point{
int x, y;
Point(int x = 0, int y = 0) : x(x), y(y){};
};
Point operator+(const Point A, const Point B)
{
return Point(A.x + B.x, A.y + B.y);
}
ostream& operator<<(ostream& out,const Point&p){ //引用out
out << "(" << p.x << "," << p.y << ")" << endl;
return out;
}
int n, l;
int main()
{
Point A, B(2, 3);
cout << A + B << endl;
A.x=10;
cout << A + B << endl;
return 0;
}