SP5296 COMBAT - Air Combat

Description

An air combat is on the way, you are asked to command this war. Now planes of enemy are full of the sky. A plane is described with three-dimensional coordinate (x, y, z)(1000

Input Format

The first line contains the number of scenarios. For each scenario you are given a line containing x1 y1 z1 x2 y2 z2, defining the two corners A(x1, y1, z1), B(x2, y2, z2) (1000

Output Format

Print a line for every ‘Q’ operation.