Task: Program Execution
Input (English): 4, 6, ['2765', '7859', 'K', '2501', '1377', 'K', 'G', '9575', '3827', '5779', '173', '6515', '3391', 'P', 'A', '9701']
Output (English): 25011377K