def las(s): out=[]; i=0; n=len(s) while i