#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define rep(i,a) for(int i=(int)0;i<(int)a;++i) #define pb push_back #define eb emplace_back using ll=long long; constexpr ll mod = 1e9 + 7; constexpr ll INF = 1LL << 50; template inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } using namespace std; void solve(){ pairp[3]; rep(i,3)cin>>p[i].first>>p[i].second; rep(i,3){ rep(j,3){ rep(k,3){ if(i==j||j==k||i==k)continue; int calc=(p[i].first-p[k].first)*(p[j].first-p[k].first)+(p[i].second-p[k].second)*(p[j].second-p[k].second); if(calc)continue; if(sqrt((p[i].first-p[k].first)*(p[i].first-p[k].first)+(p[i].second-p[k].second)*(p[i].second-p[k].second))==sqrt((p[j].first-p[k].first)*(p[j].first-p[k].first)+(p[j].second-p[k].second)*(p[j].second-p[k].second))){ cout<