Task: Program Execution
Input (English): 1307, O, 1691, F, z, e, 7495, m, 9819, 7307, E, y, J, X, M, B, M
Output (English): 1, 3, 7, 9, 10