Task: Program Execution
Input (English): e, b, 55, 287, z, x, x, r
Output (English): 2, 5, 7, 8