Task: Program Execution
Input (English): 887 2443 7085 a 9297 8487 4919 Q 7871 e e C 5615 3201 2343 Q 3159 3143 n 2925 K 247 2047 6829 8861 F
Output (English): 887, 2443, 7085, 1, 9297, 8487, 4919, 17, 7871, 5, 5, 3, 5615, 3201, 2343, 17, 3159, 3143, 14, 2925, 11, 247, 2047, 6829, 8861, 6