Task: Program Execution
Input (English): v, i, 9039, 6609, A, 8809, 8315, 7557, K
Output (English): 4