Task: Program Execution
Input (English): 8, 12, ['P', '5819', '3287', '6065', 'a', '101', '2217', 'k', 'd', '4087', 'E', '5857']
Output (English): k, d, 4087, E, 5857