Task: Program Execution
Input (English): L, 5173, B, 3097, 5669, J, 9049, 2631, 749
Output (English): L, B, J, 5173, 3097, 5669, 9049, 2631, 749