Task: Program Execution
Input (English): 6501, Z, 1851, W, 3953
Output (English): 2