Code below outputs number of all possible permutation for N lists within a constant size. Inputs are entered by user for every case within two line
N
size