Task: Program Execution
Input (English): 9739, P, 1763, Z, 2895, X, C, 6433, 3375, 1617, z, s, T, 5331, a, o, 7343, f, M, f, h, A, 4631, Z
Output (English): 9739, 16, 1763, 26, 2895, 24, 3, 6433, 3375, 1617, 26, 19, 20, 5331, 1, 15, 7343, 6, 13, 6, 8, 1, 4631, 26