Task: Program Execution
Input (English): 2, ['P', '6683', 'A', '8367', 'D', '2887', '3']
Output (English): A, 8367, D, 2887, 3