Task: Program Execution
Input (English): Z, m, f, 499, d, J, p, m, 2071, p, z, 2869, 1655, 3607, 8365, 8729, 2127, 8613, O, 4703, 5897, C, q, 4447
Output (English): 1, 2, 3, 5, 6, 7, 8, 10, 11, 19, 22, 23