Task: Program Execution
Input (English): 2897, G, p, 8757, 9335, 103, U, B, 2921, 8725, I, 9165, t, 309, 4475, 815, K, 3777, I, x, Z
Output (English): 2897, 7, 16, 8757, 9335, 103, 21, 2, 2921, 8725, 9, 9165, 20, 309, 4475, 815, 11, 3777, 9, 24, 26