Task: Program Execution
Input (English): 3, 6, ['9719', 'Q', 'w', 'A', 'U', 'S', '3739']
Output (English): w, A, U, S