Task: Program Execution
Input (English): 3, 2, ['6187', '5445', 'N', '8517', 'I', 'Y', 'p', 't', 'M', '219', 'Y', '45', 'a', 'w', '521', '8501']
Output (English): N, I, p, M, Y, a, 521