Task: Program Execution
Input (English): Z, I, 7437, 1189, 235, O, M, U
Output (English): 8861