Task: Program Execution
Input (English): B, n, T, 4961, v, 4589, 9239, y, X
Output (English): 4961, 4589, 9239