#include <iostream>
class Number
{
private:
int x;
int y;
public:
Number(int x, int y)
{
this->x = x;
this->y = y;
}
bool operator>(Number& p)
{
return this->x > p.x && this->y > p.y;
}
};
int main()
{
Number n1(1, 1), n2(2, 2);
bool ret = n1 > n2;
return 0;
}