Task: Program Execution
Input (English): J, 9415, Y, T, 6301, x, q, Q, 1723, 2847, 2703, 7915
Output (English): 9415, 6301, 1723, 2847, 2703, 7915