Task: Program Execution
Input (English): L, P, 0, m
Output (English): [['L', 'P', '0'], ['L', 'P', 'm'], ['L', '0', 'm'], ['P', '0', 'm']]