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