#include #include #include using namespace std; using ll = long long; #include int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n = 3; vector x(n),y(n); for(int i = 0;i>x[i]>>y[i]; bool fn = true; int nx,ny; if(x[0]==x[1]) nx = x[2]; else if(x[1]==x[2]) nx = x[0]; else if(x[0]==x[2]) nx = x[1]; else fn = false; if(y[0]==y[1]) ny = y[2]; else if(y[1]==y[2]) ny = y[0]; else if(y[0]==y[2]) ny = y[1]; else fn = false; set sx,sy; for(int i = 0;i