Task: Program Execution
Input (English): n, A, 4243, e, 1129, 2667, Q, 4723, 2129, 6241, P, D, m, 8361, c, 117, 4161, Y, 5887, 2885, I, 1831
Output (English): 1, 2, 4, 7, 11, 12, 13, 15, 18, 21