Task: Program Execution
Input (English): B, M, 2799, D, 2385, 665, w, 1849, a, 8403, j
Output (English): B, M, D, w, a, j