Task: Program Execution
Input (English): 4789, O, 3797, 4943, A, 7155, 8841, B, 2887, U, 6837, 3209, Y, c, g, B, 1245
Output (English): 2, 5, 8, 10, 13, 14, 15, 16