Task: Program Execution
Input (English): 5229, 7303, A, G, 541, K, b, Q, 417, 8229, 3755, 8725, 2421, 2963, 2535, D, g, k, 8507
Output (English): 5229, 7303, 1, 7, 541, 11, 2, 17, 417, 8229, 3755, 8725, 2421, 2963, 2535, 4, 7, 11, 8507