Task: Program Execution
Input (English): 2499, B, V, 7455, 6885, q, K, q, c, 3165, t, x, e, n, K, 8515, I, 3161, q, 8529, R, 6795
Output (English): 2, 3, 6, 7, 8, 9, 11, 12, 13, 14, 15, 17, 19, 21