Task: Program Execution
Input (English): q, 5585, R, A, 399, 6925, 5707, 9995, 3351
Output (English): q, R, A