Task: Program Execution
Input (English): 2, 10, ['a', 'P', 'C', 'K', '8223', '8601', '4389', '1035', '823', '855', 'c', 'Q', 'U', '119', 'Q', '6705', 's', '8859', '7311']
Output (English): 5583285301983410683228KCP