Task: Program Execution
Input (English): P, 3259, 4821, a, K, 4131, 6833, 1053, 4239, C, 165, N, 9873, q
Output (English): 2, 3, 6, 7, 8, 9, 11, 13