Task: Program Execution
Input (English): 3, b, X, p
Output (English): [['3', 'b', 'X'], ['3', 'b', 'p'], ['3', 'X', 'p'], ['b', 'X', 'p']]