Task: Program Execution
Input (English): Z, 4603, 5525, 5851, N, I, 5949, 1145, U, 523, C, 9329, 8107, 1353, l, 6903, p, 9995, n, 745
Output (English): 12