Task: Program Execution
Input (English): 3, 5, ['6503', '1503', '1845', '6543', '5907', '2513', 'K']
Output (English): 590765431845