Task: Program Execution
Input (English): 4785, 3189, 8501, 1883, E, p, 9133, E, B, U
Output (English): 5, 6, 8, 9, 10