Task: Program Execution
Input (English): 3817, q, 4301, 9965, 1555, g, G, N, 6733, 5743, 7629, 6055, y, 8513, 3027
Output (English): 3817, 4301, 9965, 1555, 6733, 5743, 7629, 6055, 8513, 3027