Task: Program Execution
Input (English): 8, 18, ['4295', '2439', '1091', 's', 'M', 'O', 'x', '4381', 'S', '2461', 'R', 'm', 'a', 'D', 'O', 'e', 'P', '9593', 'F']
Output (English): 3959PeODamR1642S1834