Task: Program Execution
Input (English): a, r, S, c
Output (English): [['a', 'r', 'S'], ['a', 'r', 'c'], ['a', 'S', 'c'], ['r', 'S', 'c']]