#include #include using namespace std; int main(){ int N; string str; cin >>N >>str; int i=0, j=N-1, length = 0; int last =-1; while(i