Task: Program Execution
Input (English): 2, ['7105', '847', '3759', 'P', '4821', 'G']
Output (English): 7105, 3759, 4821