Task: Program Execution
Input (English): 4, 6, ['1879', 'P', 'O', 'Y', 'z', 'D']
Output (English): DzY