Task: Program Execution
Input (English): 5, 7, ['8161', '2029', 'p', 'r', 'w', 'C', 'L', '7179']
Output (English): w, C, L