Task: Program Execution
Input (English): F, X, q
Output (English): [['F', 'X'], ['F', 'q'], ['X', 'q']]