Task: Program Execution
Input (English): 3, ['4579', '9835', 'D', 'c', 'P', 'S']
Output (English): 4579, 9835, D