Task: Program Execution
Input (English): 3, 7, ['4107', 's', 'L', '2777', '5243', '6549', 'T', '4421', 'y', 'R', '5779']
Output (English): 14569