Task: Program Execution
Input (English): Q, Y, 2549, 4251, 4313, F, 1219, 1703, 8661, B, p, 7083, C, 8829, N, 5835, 4819, x, 4699, 5557, 8157, 5867
Output (English): 2549, 4251, 4313, 1219, 1703, 8661, 7083, 8829, 5835, 4819, 4699, 5557, 8157, 5867