Enter the number of blocks you need to calculate, and the program will split it into stacks and remaining blocks.