Task: Program Execution
Input (English): 8, 10, ['2795', '2929', '1635', '4411', '4857', '2265', '609', 'K', 'Q', '5951', '5401', '3953', 'M', 'S', 't', '1885', '2863']
Output (English): 1595QK