Task: Program Execution
Input (English): A, Q, 2169, 6567, E, d, L, R, 3215, 2727, y, 8343, O, 5979, z, F, 2823, 9983, a, V
Output (English): 1, 2, 5, 6, 7, 8, 11, 13, 15, 16, 19, 20