Task: Program Execution
Input (English): c, 2917, T, a, 5497, f, d, 6279, b, X, h, 9955, 5689, 1009, Z, 2439
Output (English): 3, 2917, 20, 1, 5497, 6, 4, 6279, 2, 24, 8, 9955, 5689, 1009, 26, 2439