Task: Program Execution
Input (English): H, 8937, w, 1231, u, 2729, 2795, B, 1345, 1779, 9035, N, P, 2437, I, 5025, J, 1589, j, 873, d
Output (English): 2, 4, 6, 7, 9, 10, 11, 14, 16, 18, 20