Problem: We understand that reading English is a great pain to many of you. So we’ll keep this problem statememt simple. Write a program that reports the point equally distant from a set of lines given as the input. In case of no solutions or multiple solutions, your program should report as such.



Input

The input consists of multiple datasets. Each dataset is given in the following format:

n
x1,1 y1,1 x1,2 y1,2
x2,1 y2,1 x2,2 y2,2
...
xn,1 yn,1 xn,2 yn,2


n is the number of lines (1 ≤ n ≤ 100); (xi,1, yi,1) and (xi,2, yi,2) denote the different points the i-th line passes through. The lines do not coincide each other. The coordinates are all integers between -10000 and 10000.

The last dataset is followed by a line containing one zero. This line is not a part of any dataset and should not be processed.

Output

For each dataset, print a line as follows. If there is exactly one point equally distant from all the given lines, print the x- and y-coordinates in this order with a single space between them. If there is more than one such point, just print "Many" (without quotes). If there is none, just print "None" (without quotes).

The coordinates may be printed with any number of digits after the decimal point, but should be accurate to 10-4.

Example

Input

2
-35 -35 100 100
-49 49 2000 -2000
4
0 0 0 3
0 0 3 0
0 3 3 3
3 0 3 3
4
0 3 -4 6
3 0 6 -4
2 3 6 6
-1 2 -4 6
0


Output

Many
1.5000 1.5000
1.000 1.000

Solution (in CPP):

Solution:
#include<stdio.h>
#include<algorithm>
#include<math.h>
#include<vector>
using namespace std;
const double EPS = 1e-6;
const double INF = 1e+10;
const double PI = acos(-1);
int sig(double r) { return (r < -EPS) ? -1 : (r > +EPS) ? +1 : 0; }
inline double ABS(double a){return max(a,-a);}
struct Pt {
	double x, y;
	Pt() {}
	Pt(double x, double y) : x(x), y(y) {}
	Pt operator+(const Pt &a) const { return Pt(x + a.x, y + a.y); }
	Pt operator-(const Pt &a) const { return Pt(x - a.x, y - a.y); }
	Pt operator*(const Pt &a) const { return Pt(x * a.x - y * a.y, x * a.y + y * a.x); }
	Pt operator-() const { return Pt(-x, -y); }
	Pt operator*(const double &k) const { return Pt(x * k, y * k); }
	Pt operator/(const double &k) const { return Pt(x / k, y / k); }
	double ABS() const { return sqrt(x * x + y * y); }
	double abs2() const { return x * x + y * y; }
	double arg() const { return atan2(y, x); }
	double dot(const Pt &a) const { return x * a.x + y * a.y; }
	double det(const Pt &a) const { return x * a.y - y * a.x; }
};
double tri(const Pt &a, const Pt &b, const Pt &c) { return (b - a).det(c - a); }
int iSP(Pt a, Pt b, Pt c) {
	int s = sig((b - a).det(c - a));
	if (s) return s;
	if (sig((b - a).dot(c - a)) < 0) return -2; // c-a-b
	if (sig((a - b).dot(c - b)) < 0) return +2; // a-b-c
	return 0;
}
int iLL(Pt a, Pt b, Pt c, Pt d) {
	if (sig((b - a).det(d - c))) return 1; // intersect
	if (sig((b - a).det(c - a))) return 0; // parallel
	return -1; // correspond
}
Pt pLL(Pt a, Pt b, Pt c, Pt d) {
	b = b - a; d = d - c; return a + b * (c - a).det(d) / b.det(d);
}
double dLP(Pt a, Pt b, Pt c) {
	return ABS(tri(a, b, c)) / (b - a).ABS();
}

Pt p1[110];
Pt p2[110];
double rd[100];
double ld[100];
int main(){
	int a;
	while(scanf("%d",&a),a){
		for(int i=0;i<a;i++){
			double X1,X2,Y1,Y2;
			scanf("%lf%lf%lf%lf",&X1,&Y1,&X2,&Y2);
			p1[i]=Pt(X1,Y1);
			p2[i]=Pt(X2,Y2);
		}
		if(a<=2){
			printf("Many\n");continue;
		}
		if(iLL(p1[0],p2[0],p1[1],p2[1])==0&&iLL(p1[1],p2[1],p1[2],p2[2])==0){
			printf("None\n");continue;
		}
		vector<pair<Pt,Pt> >L1;
		vector<pair<Pt,Pt> >L2;
		if(iLL(p1[0],p2[0],p1[1],p2[1])==0){
			Pt L=(p1[0]+p1[1])/2;
			Pt R=(p2[0]+p2[1])/2;
			if((L-R).ABS()<1.0){
				L=(p1[0]+p2[1])/2;
				R=(p2[0]+p1[1])/2;
			}
			L1.push_back(make_pair(L,R));
		}else{
			Pt p=pLL(p1[0],p2[0],p1[1],p2[1]);
			double th=0;
			if((p2[0]-p).ABS()>1)th+=((p2[0]-p).arg());
			else th+=((p1[0]-p).arg());
			if((p2[1]-p).ABS()>1)th+=((p2[1]-p).arg());
			else th+=((p1[1]-p).arg());
			th/=2;
			L1.push_back(make_pair(p,p+Pt(cos(th),sin(th))*1000.0));
			L1.push_back(make_pair(p,p+Pt(cos(th+PI/2),sin(th+PI/2))*1000.0));
		}
		if(iLL(p1[2],p2[2],p1[1],p2[1])==0){
			Pt L=(p1[2]+p1[1])/2;
			Pt R=(p2[2]+p2[1])/2;
			if((L-R).ABS()<1.0){
				L=(p1[2]+p2[1])/2;
				R=(p2[2]+p1[1])/2;
			}
			L2.push_back(make_pair(L,R));
		}else{
			Pt p=pLL(p1[2],p2[2],p1[1],p2[1]);
			double th=0;
			if((p2[2]-p).ABS()>1)th+=((p2[2]-p).arg());
			else th+=((p1[2]-p).arg());
			if((p2[1]-p).ABS()>1)th+=((p2[1]-p).arg());
			else th+=((p1[1]-p).arg());
			th/=2;
			L2.push_back(make_pair(p,p+Pt(cos(th),sin(th))*1000.0));
			L2.push_back(make_pair(p,p+Pt(cos(th+PI/2),sin(th+PI/2))*1000.0));
		}
	//	printf("%d %d\n",L1.size(),L2.size());
		vector<Pt>hb;
		for(int i=0;i<L1.size();i++)for(int j=0;j<L2.size();j++){
		//	if(iLL(L1[i].first,L1[i].second,L2[j].first,L2[j].second)!=1)printf("Alert\n");
			hb.push_back(pLL(L1[i].first,L1[i].second,L2[j].first,L2[j].second));
		}
		int ans=0;
		for(int i=0;i<hb.size();i++){
	//		printf("%f %f: ",hb[i].x,hb[i].y);
			bool dame=false;
			for(int j=0;j<i;j++){
				if((hb[i]-hb[j]).ABS()<EPS){
					dame=true;
				}
			}
			if(dame){
				rd[i]=1;ld[i]=0;continue;
			}
			rd[i]=-999999999;ld[i]=999999999;
			for(int j=0;j<a;j++){
				double dist=dLP(p1[j],p2[j],hb[i]);
				rd[i]=max(rd[i],dist);
				ld[i]=min(ld[i],dist);
			//	printf("%f ",dist);
			}//printf("\n");
			if(rd[i]-ld[i]<EPS)ans++;
		}
		if(ans>1)printf("Many\n");
		else if(ans==0)printf("None\n");
		else{
			for(int i=0;i<hb.size();i++){
				if(rd[i]-ld[i]<EPS)printf("%f %f\n",hb[i].x,hb[i].y);
			}
		}
	}
}