Task: Program Execution
Input (English): 5471, b, 5321, E, 7321
Output (English): 2, 4