#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> s; ll L = s.size(); if(L%2==1){ p_no(); return 0; } string t = s.substr(0, L/2); string u = s.substr(L/2); if(t==u){ p_yes(); }else{ p_no(); } return 0; }