Task: Program Execution
Input (English): I, 2121, d, Z, 3597, A, 7817, 4575, Z
Output (English): 4