Task: Program Execution
Input (English): 2, 3, ['177', 'N', 'U', '9807', '529', 'i', '2491', '6681', '165', '7417', 'B', '6289', 'M', 'P', '5805', 'N', 'v', '3239', '4827', 'P']
Output (English): N, 529, 6681, B, P, v, P