Task: Program Execution
Input (English): A, l, 8967, 1921, 4621, q, p, 3947, 5759, 4241, 7957, Q, V, Z, t, s, c, V
Output (English): 1, 2, 6, 7, 12, 13, 14, 15, 16, 17, 18