SP9334 TETRAHED - Point in tetrahedron

Description

There're given 5 points in 3D coordinates (integers 0

Input Format

In the first line the number T (T

Output Format

For each test case a line with the index of that point which is lying in the tetrahedron formed of the 4 other points.