Task: Program Execution
Input (English): Q, 1693, 1633, 4347, B, 7817, 5067, x, 3777, 1383, V, c, r, 4593
Output (English): 1693, 1633, 4347, 7817, 5067, 3777, 1383, 4593