Task: Program Execution
Input (English): g, V, 3779, N, E, 5123, 2275, g, 25, 9441, P, A, j, s, 2335, q, 2939, D, 3035, r, 7943, y, 5627
Output (English): 10