Task: Program Execution
Input (English): Z, 9625, A, 8241, L, 5351, 2409, I, 1951, Z, l, t, 4593, 1241, G, 8971, U, S, 7201, 839, 4725, 6193, 5159
Output (English): 10