Task: Program Execution
Input (English): 6, ['7817', '3481', 'd', '5461', '6345', 'P', '6669', '6981', '1379', '5799', 'b', 'G']
Output (English): 7817, 6669