Task: Program Execution
Input (English): g, 9781, 771, 8525, 5081, V, B, 9761, K, O, o, d, f, K, 777, z, 6703, 7305, q, 3871, 8961
Output (English): 7, 9781, 771, 8525, 5081, 22, 2, 9761, 11, 15, 15, 4, 6, 11, 777, 26, 6703, 7305, 17, 3871, 8961