Task: Program Execution
Input (English): i, 3777, 9367, F, n, 2745, 6351, 7757, v, 9017, M, g, f, P
Output (English): 39014