Task: Program Execution
Input (English): 5, 12, ['M', 'Q', '303', '6949', 'Q', '9883', 'A', 'n', 'U', '9005', '8685', 'g', 'n', '6367']
Output (English): g86859005UnA9883Q