Task: Program Execution
Input (English): 3, 6, ['7683', 'J', 'M', 'H', 'J', 'g', 'c', '4827', 'D', '6355', 't', 'q']
Output (English): M, H, J, g