Task: Program Execution
Input (English): 5097, 6533, 2055, v, 4779, 6685, 3305, N, 5751, 249
Output (English): 8