Task: Program Execution
Input (English): 3813, u, 343, 5295, 5365, X, a, X, q, s
Output (English): 3813, 343, 5295, 5365