Task: Program Execution
Input (English): o, e, 7811, x, 9951, m, 4429, 1077, X, 9701, o, 5689
Output (English): 7811, 9951, 4429, 1077, 9701, 5689