Task: Program Execution
Input (English): 1347, 7881, 6747, q, 1701, B, g, J
Output (English): 1347, 7881, 6747, 1701