Task: Program Execution
Input (English): 2, ['w', 'K', 'Z', 'r']
Output (English): w, K