Task: Program Execution
Input (English): N, 8, d, 9
Output (English): [['N', '8', 'd'], ['N', '8', '9'], ['N', 'd', '9'], ['8', 'd', '9']]