Task: Program Execution
Input (English): e, 271, g, q, n, 91, t, c, o, 261, m, e, p
Output (English): 1, 2, 6, 7, 9