#include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); string a; cin>>a; int n = a.size(); for(int i = n;i<=2*n;i++){ string now = a; for(int j = n + 1;j<=i;j++){ int ni = i - j; now.push_back(now[ni]); } auto nxt = now; reverse(nxt.begin(),nxt.end()); if(now==nxt){ cout<