In a magic show, from the seven magicians - G.H.K.L.N.P and Q, 6 are selected to perform, and the performance is divided into two teams: Team 1 and Team 2. Each team consists of three positions: front, middle and back, and the magicians who play happen to each occupy one position. The selection and position arrangement of the magicians must meet the following conditions: (1) If G or H are arranged to play, they must be in front. bit. (2) If K is assigned to play, he must be in the middle. (3) If L is assigned to play, he must be on Team 1. (4) Neither P nor K can be on the same team as N. (5) P cannot be on the same team as Q. (6) If H is in team 2, then Q is in the middle of team 1.
Front: G Middle: Q Back: N is an acceptable arrangement for 2 teams to perform.