Task: Program Execution
Input (English): t, g, 1, W
Output (English): [['t', 'g', '1'], ['t', 'g', 'W'], ['t', '1', 'W'], ['g', '1', 'W']]