Task: Program Execution
Input (English): Y, n, F, 3097, Q, F, 3367
Output (English): 3097, 3367