Task: Program Execution
Input (English): d, M, a
Output (English): [['d', 'M'], ['d', 'a'], ['M', 'a']]