#include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; int n; struct Point { int x,y; }p[25]; int dis2(Point a,Point b) { return (a.x -b.x)*(a.x - b.x) + (a.y - b.y)*(a.y-b.y); } int chaji(Point a,Point b,Point c) { return (a.x-b.x)*(c.x-b.x) + (a.y-b.y)*(c.y-b.y); } bool ok(Point a,Point b,Point c) { if(chaji(a,b,c) == 0 && dis2(a,b) == dis2(b,c)) return true; return false; } int main() { // freopen("in.txt","r",stdin); while(scanf("%d",&n) != EOF) { int a,b; for(int i=0;i