Task: Program Execution
Input (English): y, 3987, n, l, g, n, F, 2097, 6003, m
Output (English): 3