Task: Program Execution
Input (English): U, P, m, c, N, 4977, 4401, C, M, v, C, U, 4873, C, 8255, 8851, V, t, k, 393
Output (English): 6, 7, 13, 15, 16, 20