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