Task: Program Execution
Input (English): 9917, 325, 7623, z, 511, 7747, 3813, 5137, d
Output (English): 2