Task: Program Execution
Input (English): 7341, 2131, e, 4325, q, 5741, x
Output (English): 7341, 2131, 5, 4325, 17, 5741, 24