Task: Program Execution
Input (English): 2, 2, ['L', '4725', '1427', '6879']
Output (English): 4725