Task: Program Execution
Input (English): 247, e, v, 289, c, b
Output (English): 2, 4, 7, 8, 9