Task: Program Execution
Input (English): T, a, B, 3407, z, B, f, 4063, 8889, 3125
Output (English): 20, 1, 2, 3407, 26, 2, 6, 4063, 8889, 3125