Task: Program Execution
Input (English): F, 91, 7165, 5949, 7811, 8713, d
Output (English): 2