### PROBLEM LINKS

### DIFFICULTY

EASY

### EXPLANATION

It was the easiest problem in the set. Actually, I wanted to make a problem that will be solved by very big number of contestants and it seems that I have succeeded

If **N** is odd then the answer is **N-1**, else the answer is **N**. When we have a palindrome of even length, we can reverse the first **N/2** symbols of it to obtain a double string, so the answer for even **N** is **N**. It is impossible to make a double string with an odd number of symbols but we can remove the central symbol to obtain an even length palindrome and the answer then is equal to **N**.

### SETTERâ€™S SOLUTION

Can be found here.

### TESTERâ€™S SOLUTION

Can be found here.