Task: Program Execution
Input (English): 4579, C, z, n, 4995, J, 1973, 885, 665, 2831, u, 5109, 1877, a, s, Q, 3731, 3477, X, y, 9877
Output (English): 4579, 3, 26, 14, 4995, 10, 1973, 885, 665, 2831, 21, 5109, 1877, 1, 19, 17, 3731, 3477, 24, 25, 9877