Task: Program Execution
Input (English): w, D, w
Output (English): [['w', 'D'], ['w', 'w'], ['D', 'w']]