Task: Program Execution
Input (English): n 3041 B b 5403 R C Q I V t 2409 B 7237 7663 t p 3989 C T V 9445 Q 8807 5193 407 3397 9743 211 6283
Output (English): 3041, 5403, 2409, 7237, 7663, 3989, 9445, 8807, 5193, 407, 3397, 9743, 211, 6283