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