Task: Program Execution
Input (English): J, 9389, 3923, 1957, g, d, 2737, N, d, 2371, i, 3047
Output (English): J, g, d, N, d, i