Task: Program Execution
Input (English): 6, 8, ['m', 'w', 'b', 'R', '3179', 'N', 'r', 'd', 's', 'p']
Output (English): N, r, d