Task: Program Execution
Input (English): 5299 N J J x g 6675 5483 D 7915 3995 t q e 969 W L 3967 7465 7223 l 7637 1061 H 5051 A I 9425
Output (English): 5299, 14, 10, 10, 24, 7, 6675, 5483, 4, 7915, 3995, 20, 17, 5, 969, 23, 12, 3967, 7465, 7223, 12, 7637, 1061, 8, 5051, 1, 9, 9425