Task: Program Execution
Input (English): 3, 4, ['m', 'J', 'd', 'k', 'z', 'R']
Output (English): dk