Task: Program Execution
Input (English): 2, 5, ['1745', '5389', '7085', 'N', '7039', '4981', '4451', '1281', 'O', '1843']
Output (English): 7039N70855389