Task: Program Execution
Input (English): 3, ['9463', '2313', 'Z', 'd', '1063', '8779', '4115', 'P', 'a', '695', '4103', 'D']
Output (English): 9463, 2313, Z