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