Task: Program Execution
Input (English): 6, 7, ['m', '4475', '4423', 'K', 'J', 'p', 'C', '3565']
Output (English): p, C