Task: Program Execution
Input (English): P, 961, w, m, w, 7359, Z, b, 4127, q, 5283, 9333, 9137, 3295, g, 6739, 1877, O
Output (English): 961, 7359, 4127, 5283, 9333, 9137, 3295, 6739, 1877