Task: Program Execution
Input (English): d, w, c, 8667, 6373, f, 1895, J, Y, 4895, A, 3303
Output (English): d, w, c, f, J, Y, A