Task: Program Execution
Input (English): R, c, Q, b, 1459, 5375, 8409, 7179, 1407, W, 1157, 2895
Output (English): 1459, 5375, 8409, 7179, 1407, 1157, 2895