stepan favorite string s consist lowercase letter latin alphabet after graduation decided remember long time ago can not remember but Stepan remember information string sequence integer c1c2cn n equal length string s ci equal number substring string s length consist letter the substre sequence consecutive character stre sFor example Stepans favorite string equal tttesst sequence c look like c7310000Stepan ask help repair favorite string s accord give sequence c1c2cn