Task: Program Execution
Input (English): 9087, m, N, 7537, k, O, 1233, t, 2961, B, 187, 2257, Q, F, x, y, p, A, c, b, 6773, 335
Output (English): 9087, 7537, 1233, 2961, 187, 2257, 6773, 335