Task: Program Execution
Input (English): w, 8617, f, h, 1797, 9015, 8307, 9401, 9463, F, n, n, 6997
Output (English): 7