Task: Program Execution
Input (English): h, z, j, 5313, 7965, N, 7615, 4649, 3455, G, 49, 1985, 1129, 4915, 957, Z, 8663, b, 8681
Output (English): 7