Task: Program Execution
Input (English): k, N, g, 8435, 3395, 4369, 8403, 3921, 3917, E, t, q, 6041
Output (English): 11, 14, 7, 8435, 3395, 4369, 8403, 3921, 3917, 5, 20, 17, 6041