an array b_1 b_2 ldot b_m palindrome b_i b_m1i 1 m empty array palindromeAn array call kalindrome follow condition hold its possible select integer x delete element array equal x remain array glue remain part palindrome Note do not delete element equal x do not delete element equal xFor example 1 2 1 kalindrome simply delete single element 3 1 2 3 1 kalindrome choose x 3 delete element equal 3 obtain array 1 2 1 palindrome 1 2 3 kalindrome you give array a_1 a_2 ldot a_n determine kalindrome