Task: Program Execution
Input (English): 12, 15, ['N', '9567', 'b', '6209', '3983', 'D', '5275', '5657', '5945', '8351', 'B', 'P', '167', '199', 'p', '6877', '1039']
Output (English): p, 199, 167, P