Task: Program Execution
Input (English): 2, 8, ['8141', 'k', 'P', '6525', '2915', '4951', '7611', 'D', 'v', 'W', '7787', '9031', '5345', 'U', 'K', 'Q']
Output (English): k, W