Task: Program Execution
Input (English): Y, j, 6201, U, 8967, 4441, D, 2525, 7827, 1131, 2321, A, 6015, L, X, 1239, 4839, 399, Z, c, 6471, 3507
Output (English): 3, 5, 6, 8, 9, 10, 11, 13, 16, 17, 18, 21, 22