Task: Program Execution
Input (English): [451, 'R', 3119, 1155, 'B', '8147', '5721', '307', '8389', 'U', '1529', '5571', '8195', '787', 'A', 3241, 2647, 'w', 8155, 'Q', 2249, 6871, 1091], [7147, 'k', 'Y', 1773, 'x', 10023, 3807, '8147', '5721', '307', '8389', 'U', '1529', '5571', '8195', '787', 'h', 1873, 5087]
Output (English): 8147, 5721, 307, 8389, U, 1529, 5571, 8195, 787