100 atcoder#ABC145B. [ABC145B] Echo
[ABC145B] Echo
Score : points
Problem Statement
Given are a positive integer and a string of length consisting of lowercase English letters.
Determine whether the string is a concatenation of two copies of some string. That is, determine whether there is a string such that .
Constraints
- consists of lowercase English letters.
Input
Input is given from Standard Input in the following format:
Output
If is a concatenation of two copies of some string, print Yes
; otherwise, print No
.
6
abcabc
Yes
Let abc
, and .
6
abcadc
No
1
z
No