Task: Program Execution
Input (English): Z, 1117, 7071, 2817, g, o
Output (English): 3