Task: Program Execution
Input (English): v, g, 5719, F, 7105, j, 9147, Z, 3961, 8703, 5675, 3195
Output (English): 43505