Task: Program Execution
Input (English): 6, 7, ['5343', '1963', 'd', '6309', 'A', '8167', '5867', '9059']
Output (English): 5867, 8167