Lots of Parabolas

아직 제출이 없습니다시간 제한1초메모리 제한512 MB

문제

On a plane there is a set of parabolas given by equations in the form y=ax2+bx+cy = a\cdot x^2 + b\cdot x + c.

Let's consider a point to be located inside a parabola if it located above the parabola in case of positive coefficient aa, or below the parabola in case of negative aa.

On this figure, the point PP is located inside both parabolas, the point QQ is inside one of them, and the point RR is inside none of them.

You need to find any point that is located inside all parabolas. It is guaranteed that such point exists.

입력

The first line contains a single integer nn (1n100,0001 \leq n \leq 100\\,000) --- the number of parabolas.

Each of the next nn lines contains three integers aa, bb, cc (a,b,c109|a|, |b|, |c| \leq 10^9; a0a \neq 0), describing a parabola y=ax2+bx+cy = a\cdot x^2 + b\cdot x + c.

출력

Print two real numbers xx and yy --- coordinates of a point located inside all parabolas.

The answer is considered correct if there exists a point at distance at most 10610^{-6} from the printed one, which is located strictly inside all parabolas.