Task: Program Execution
Input (English): A, r, m, 9
Output (English): [['A', 'r', 'm'], ['A', 'r', '9'], ['A', 'm', '9'], ['r', 'm', '9']]