Task: Program Execution
Input (English): 7, 4, S
Output (English): [['7', '4'], ['7', 'S'], ['4', 'S']]