Task: Program Execution
Input (English): 2, 3, ['2959', 'p', 'L', '875']
Output (English): L, p