Task: Program Execution
Input (English): 2, 5, ['1169', 'q', '5451', 'w', 'g', 's']
Output (English): g, w, 5451, q