Task: Program Execution
Input (English): e, 5273, 5505, 4573, 497, 2769, c
Output (English): 18617