A string is called square if it has the form , where is a non-empty string. In other words, a square string is obtained by concatenating two copies of the same non-empty string.
For example, the strings "", "zqzq", and "treetree" are square.
Determine whether the given string is square.
A string is given, containing no more than characters.
Print "yes" if the input string is square, and "no" otherwise.
Example 1
Example 2