Sample Input 1: 3 3 1 3 1 2 1 5 1 3 1 2 4 5 2 8 2 5 9 1 3 15 17 11 13 2 4
Sample Output 1: 1 2 3 No 1 3 5 9 11 13 15 17