Task: Program Execution
Input (English): q, o, m
Output (English): [['q', 'o'], ['q', 'm'], ['o', 'm']]