Task: Program Execution
Input (English): 2781, V, 9629, F, 7955, 687, 7821, J, 6341, E, 7355, 7799
Output (English): 8