Task: Program Execution
Input (English): H, N, B, N, T, 739, 4147, Q, o, P, z, d, C, 1179, A, 1053, d, 7077
Output (English): 8, 14, 2, 14, 20, 739, 4147, 17, 15, 16, 26, 4, 3, 1179, 1, 1053, 4, 7077