N Stacks in an array

join shbcf.ru