Task: Program Execution
Input (English): 2, 3, ['M', 'i', 'P', 'J', '5135', '4267', 'C', '831', '9247', '3285', 'J']
Output (English): i, 5135, 831, J