Task: Program Execution
Input (English): r, 8877, 2859, 2575, 5019, 6583, W
Output (English): 8877, 2859, 2575, 5019, 6583