Task: Program Execution
Input (English): Q, F, n
Output (English): 0