Task: Program Execution
Input (English): R, r, 3, 1
Output (English): [['R', 'r', '3'], ['R', 'r', '1'], ['R', '3', '1'], ['r', '3', '1']]