Task: Program Execution
Input (English): 9351, y, 1269, g, 1143, 6889, J, 8171, y, 9173, m
Output (English): y, g, J, y, m, 9351, 1269, 1143, 6889, 8171, 9173