Task: Program Execution
Input (English): 5501, 8919, 2153, d, 1471, 9087, a
Output (English): 5501, 8919, 2153, 4, 1471, 9087, 1