Task: Program Execution
Input (English): 8, 10, ['y', 'D', '3165', 'w', 'P', '3539', '2423', 'F', '2887', 'n']
Output (English): n7882F