Sample Input1: 7 ABXCABC Sample Input2: 6 ABCDEF Sample Input3: 9 ABABABABA
Sample Output1: ABC Sample Output2: NOT POSSIBLE Sample Output3: NOT UNIQUE