p = list(map(int,input().split()))q = list(map(int,input().split()))if p[0] == q[2] or p[2] == q[0] or (p[0] == q[2] and p[3]==q[1]) or (p[2] == q[0] and p[1] == q[3]): print("POINT")elif (q[1]==p[3] or p[1] == q[3]) andelif p[3] <=q[1] or p[1] >= q[3] or p[0] >= q[2] or p[2] <= q[0] : print("NULL")else : print("FACE")# print(p)# print(q)
top of page
bottom of page