Special Forces Manoeuvres ( akc.X ) Bessie's Cow-mando team are undertaking a mission in the Bledowska Desert. The main part of the mission involves air-dropping cowmandos through the desert, where they will set up communications stations. However, the cow's intelligence has determined that there may be a bomb somewhere in the desert. Bessie wants to use (air-drop) as few cowmandos as possible while still ensuring that at least one cowmando will survive the possibility of a bomb explosion somewhere in the desert. As they air-drop, the cowmandos jump individually, in a predetermined order, from a helicopter hovering above the ground. Upon landing, each cowmando digs in and moves no further. Only then does the next cowmando proceed. Each cowmando has an individual "survival radius." If the distance between the cowmando and the bomb is equal to (or smaller then) the survival radius, the cowmando will perish if the bomb should go off. Bessie is given a jump sequence for the cowmandos: none of them may miss their turn, i.e., if the i-th cowmando jumps from the helicopter, than all those before her have already jumped. For each of the cowmandos Bessie also knows the survival radius and the coordinates of the point where she is going to land. Again, Bessie wants to minimize the number of soldiers taking part in the operation, but it wants to be sure that at least one of them survives the possible explosion. PROBLEM NAME: akc.X [I have no idea why! - ZD] INPUT FORMAT: In the first line of the standard input there is a single integer n (2 <= n <= 2 000) -- the number of cowmandos. The following n lines contain descriptions of cowmandos -- one per line. The description of each cowmando is three integers: x, y and r ( -1000 <= x, y <= 1000, 1 <= r <= 5000). The point (x, y) denotes the landing place of the cowmando, and r denotes her survival radius. If the cowmando finds herself within the survival radius r from the bomb, she would perish if the bomb should go off. SAMPLE INPUT: 5 2 2 4 7 2 3 4 3 1 5 7 1 8 7 1 OUTPUT FORMAT: In the first and only line of the standard output your programme should write a single integer - the minimal number of cowmandos required to jump in order to secure the survival of at least one of them, or a single word NIE if it is not possible to be sure that one of the cowmandos survives. SAMPLE OUTPUT: 4