Task: Program Execution
Input (English): 2, 4, ['8181', '9349', '2531', 'S', '5333', '3721', '9641']
Output (English): 11880