Task: Program Execution
Input (English): I, 6787, F, x, 1749, 253, 5831, N, p, N, V
Output (English): 14620