#include #include using namespace std; using ll = long long; #define rep(i,n) for(int i=0;i<(int)(n);i++) using mint = atcoder::modint998244353; using ld = long double; int main(){ int q; cin>>q; vector> vp(3); vector> vq(q); for(auto&[x,y]:vp) cin>>x>>y; for(auto&[x,y]:vq) cin>>x>>y; ld cx,cy,r2=-1; rep(i,3){ int x1,x2,y1,y2; x1=vp.at(1).first-vp.at(0).first; x2=vp.at(2).first-vp.at(0).first; y1=vp.at(1).second-vp.at(0).second; y2=vp.at(2).second-vp.at(0).second; if(x1*x2+y1*y2<=0){ cout<