Task: Program Execution
Input (English): U, 6017, R, 4603, 7497, 4323, 5055, w, 2629, 1011
Output (English): 1, 3, 8