Task: Program Execution
Input (English): 2, ['5001', 'p', '3395', '5103', 'c']
Output (English): 5001, 3395, c