Task: Program Execution
Input (English): 6, 12, ['K', '8233', 'q', '8361', '7013', 'h', 'N', '5463', 'U', '1189', '3427', 'E', '3851', '5761', 'c', '931', 'I']
Output (English): E34271189U5463Nh