Task: Program Execution
Input (English): 2, 3, ['j', '147', '7143', '4803', '7049', 'L', '1521', 'L', '4953', '8495']
Output (English): 7143, 147