Task: Program Execution
Input (English): 6, 9, ['g', '7481', '6717', '2863', '79', '5841', 'o', 'K', '4697', 'l', 'c', 'G', 'G']
Output (English): 5841oK4697