Task: Program Execution
Input (English): D, 3991, 4251, 2841, 9687, Q, O, 1913, h, Z, M, 8077, 977, 2695, 6145, q
Output (English): 4, 3991, 4251, 2841, 9687, 17, 15, 1913, 8, 26, 13, 8077, 977, 2695, 6145, 17