Task: Program Execution
Input (English): F, z, Q
Output (English): [['F', 'z'], ['F', 'Q'], ['z', 'Q']]