Task: Program Execution
Input (English): 2, 3, ['P', 'w', 'D', '7149', '4783', '1299', 'v', 'j', '6003', 'j', '4623', '9941']
Output (English): w, D