Task: Program Execution
Input (English): 7361, 4701, X, B, 457, J, w, V, 959, 9753, w
Output (English): 6