Task: Program Execution
Input (English): 5, 8, ['F', '2739', '2957', '2343', 'E', 'D', 'S', '1277', '869', 'E', '7337', '7919', '2715', '1905', '4045', '8815', 'y', '5357', 'x', '513', 'v', 'c']
Output (English): 7721SDE