Task: Program Execution
Input (English): 297, 9201, 9789, v, n, x, Z
Output (English): 4