Task: Program Execution
Input (English): 3, 6, ['2315', '5203', '9649', '9285', '7315', '8579', 'X', '2471', 'i', '2587']
Output (English): 9649928573158579