Task: Program Execution
Input (English): g, 9779, 3215, 7737, V, 6451, 4629, 9167, 9697, 8183, n, 3233, 1855, x
Output (English): 4