Task: Program Execution
Input (English): 5, 8, ['9877', '3715', 'd', 'z', '6499', '5943', 'l', 'Q', '2485', 'W', 'Q', '1783', '5775', '7365']
Output (English): Q, l, 5943, 6499