Task: Program Execution
Input (English): R, 4769, 9887, F, q, 2131, n
Output (English): 4769, 9887, 2131