Task: Program Execution
Input (English): 8349, 169, 5421, j, 2983, Q, A, U, 2341, 8759, l, 5237, 7031, 4789, K, 3775, Q, 2885, 4639, 6051, 8983, N
Output (English): 1, 2, 3, 5, 9, 10, 12, 13, 14, 16, 18, 19, 20, 21