Task: Program Execution
Input (English): h, J, 2349, 7527, 1739, 4111, N, 3355, 9089, g
Output (English): h, J, N, g