Task: Program Execution
Input (English): X, v, S
Output (English): [['X', 'v'], ['X', 'S'], ['v', 'S']]