Task: Program Execution
Input (English): 2, 5, ['Q', 'L', 'j', '2089', 'p', 'c', '7509', '681', '147', '9779', 'H', '2943', '3131']
Output (English): L, 7509, 2943