Task: Program Execution
Input (English): 2, ['5391', '2497', '5787', 'o', '2915', 'Q', '4803', '2101', '3047', '1051', '5157', '1749']
Output (English): 5391, 2497