Task: Program Execution
Input (English): 1, 1, ['D', 'W']
Output (English): 0