Task: Program Execution
Input (English): 2, 8, ['3781', 't', '1249', 'g', 'P', 'K', '7235', '431', 'D']
Output (English): t1249gPK7235431