Task: Program Execution
Input (English): R, U, d
Output (English): [['R', 'U'], ['R', 'd'], ['U', 'd']]