Task: Program Execution
Input (English): 3613, 7365, Y, 8179, 135, B, Q, 4895, 2227, 2715, 429, X, 8865
Output (English): 3613, 7365, 8179, 135, 4895, 2227, 2715, 429, 8865