#include using namespace std; int main(){ cin.tie(0); ios::sync_with_stdio(false); string S; cin >> S; string b = S.substr(0,S.size() / 2); string c = S.substr(S.size() / 2,S.size()); if(b == c) { cout << "YES" <