for i in {[Beginning]..[Ending]};do mkdir {PATH}_A$i;mkdir {PATH}_B$i;for j in {[Beginning]..[Ending]};do mkdir {PATH}A$i/a$j;mkdir {PATH}B$i/b$j;done;done;