Task: Program Execution
Input (English): 2, 6, ['A', '8475', 'F', 'i', 'W', '3943', 'B', 'H', 'S', 'v', '2783', '869', 'k', 'z', 'A', 'z', 'A', '5137']
Output (English): 3493WiF5748