Task: Program Execution
Input (English): 2, 5, ['w', 'q', '9709', 'n', '8171', 'j', '4679', 'z', 'r', 'g', 'o', 'B']
Output (English): q, 4679, B