Task: Program Execution
Input (English): 151, 1165, f, U, 3205, 1623, 4933, i, 1355, 7573, 967, A, B, Q
Output (English): 1, 2, 5, 6, 7, 9, 10, 11