#include #include #include using namespace std; ifstream fin("pase.in"); ofstream fout("pase.out"); char s[1001]; int g[1001],lg[1001],lgmax,pozmax,n,nr; int main() { fin>>n>>s; int poz=0,l=0,nrgresit,i; nr=strlen(s); for(i=0; i2) i=i-2; else i=0; while(ilgmax) { lgmax=l; pozmax=poz; } i=pozurm; } } } fout<