Task: Program Execution
Input (English): B, e, 5905, 7829, 1331, 3439, 8503, Y, 4737, 9939, 2891, 2925, O, i
Output (English): 1, 2, 8, 13, 14