Task: Program Execution
Input (English): 1, 3, ['9859', '5603', '9507', '809', '2365', 'M', 'P', '6103', 'H', 'W', '5881', 'Q']
Output (English): 9859, 5603, 9507