Task: Program Execution
Input (English): Z, w, 3849, J, 1219, 1659, G
Output (English): Z, w, J, G