Task: Program Execution
Input (English): h, C, o, 407, B, g, 1463, 3253, h, q, Y, N, M, 969, 2703, 1595, b, 1953, d, Y, V, 2333
Output (English): 8, 3, 15, 407, 2, 7, 1463, 3253, 8, 17, 25, 14, 13, 969, 2703, 1595, 2, 1953, 4, 25, 22, 2333