#include #include #include #include #include #include #include #include using namespace std; typedef long long LL; const int N = 507; struct node { int x, y; node operator -(const node &A)const { node c; c.x=x-A.x,c.y=y-A.y; return c; } double operator *(const node &A)const { return x*A.y-y*A.x; } }a[N], b[N]; int w[N][N]; int judge(node A,node B,node C) { int xmaxt=max(A.x,B.x),xmint=min(A.x,B.x); int ymaxt=max(A.y,B.y),ymint=min(A.y,B.y); if(C.x>=xmint&&C.x<=xmaxt&&C.y>=ymint&&C.y<=ymaxt) return 0; return 1; } int main() { int n, m; while(scanf("%d", &n)!=EOF) { memset(w,0x3f3f3f3f,sizeof(w)); for(int i=0;im) puts("ToT"); else cout<