#include <iostream>
using namespace std;
class Vector
{
public:
Vector(int x, int y)
{
this -> x = x;
this -> y = y;
}
private:
int x, y;
friend ostream & operator<<(ostream &, Vector &);
};
ostream & operator<<(ostream & os, Vector & rhs)
{
os << "(" << rhs.x << "," << rhs.y << ")";
return os;
}
int main()
{
Vector v(2, 3);
cout << "v=" << v << endl;
return 0;
}