Task: Program Execution
Input (English): F, F, R, 9825, Z, 9029, I, x, N, X, i, 1779, 6935, S, 3957, X
Output (English): 31525