Task: Program Execution
Input (English): Y, 9299, F, 187, 41, m, Z, 3293, 713, n, X
Output (English): 9299, 187, 41, 3293, 713