Task: Program Execution
Input (English): 4077, h, 2833, 7243, 3497, i, 401, 7163, 2315, 8177, v, g, S, 5221, 8223, J, 7085, 8311, n, 6901, v
Output (English): 8