Task: Program Execution
Input (English): 837, Z, 6287, 5499, 2945, J, 6359, 1689, 7411, 9933, 9351, 5179, w, Q
Output (English): Z, J, w, Q