Task: Program Execution
Input (English): 2, 4, ['O', '7177', 'f', 'Q', '3429', '3121', '4399', 'H', '6081', 'V', '4367', '7889', '5533', '9109', 'K']
Output (English): Qf7177