Task: Program Execution
Input (English): 9041, T, l, w, B, 5049, E, 5251, O, M, 3447, Z, 7413, 7749, I, 365, 4981, h, Y, G, f, P, M, W
Output (English): 1, 6, 8, 11, 13, 14, 16, 17