Task: Program Execution
Input (English): S, g, 1, 9, H
Output (English): [['S', 'g', '1', '9'], ['S', 'g', '1', 'H'], ['S', 'g', '9', 'H'], ['S', '1', '9', 'H'], ['g', '1', '9', 'H']]