Task: Program Execution
Input (English): P, 8483, J, 797, q, x, 2585, c, 6421, i, 59, 4317, A, 3959, E
Output (English): 2, 4, 7, 9, 11, 12, 14