/** * * 解説を見た. * * */ #include #include #include #include #include #include #include #include #include #include #include #include #include #define CK(N, A, B) (A <= N && N < B) #define REP(i, a, b) for (int i = a; i < b; i++) #define RREP(i, a, b) for (int i = (b - 1); a <= i; i--) #define F first #define S second #define ll long long const int INF = 1e9; const long long LLINF = 1e18; using namespace std; int dy[] = {0,1,0,-1}; int dx[] = {1,0,-1,0}; int dy8[] = {0,1,1,1,0,-1,-1,-1}; int dx8[] = {1,1,0,-1,-1,-1,0,1}; /*==================================================*/ /*variable*/ pair coord[3]; /*==================================================*/ /*function*/ /*==================================================*/ int main() { REP(i,0,3){ int x, y; cin>>x>>y; coord[i] = make_pair(x,y); } sort(coord, coord+3); do{ int x3, y3; x3 = coord[1].F + (coord[1].S - coord[0].S); y3 = coord[1].S - (coord[1].F - coord[0].F); if(x3 == coord[2].F && y3 == coord[2].S){ int x4, y4; x4 = coord[2].F + (coord[2].S - coord[1].S); y4 = coord[2].S - (coord[2].F - coord[1].F); cout<