Task: Program Execution
Input (English): D, z, 837, 8175, t, 8773, t, D
Output (English): 3