Task: Program Execution
Input (English): 2539, w, 7887, L, G, 1141, 5471, 5373, P
Output (English): 2, 4, 5, 9