Task: Program Execution
Input (English): 3, 5, ['1675', 'n', 'w', 'K', '9051', '7759', 'g']
Output (English): w, K, 9051