Task: Program Execution
Input (English): P, 5175, R, 5987, B, A, 4101, 8771, 7805, z, I, w, 1619, 7377, 5973, 2727, 4807, 3965, 2661, o, Q, A, j
Output (English): 1, 3, 5, 6, 10, 11, 12, 20, 21, 22, 23