Task: Program Execution
Input (English): 2247 l B 4827 K 8787 F J 1319 9625 1941 e C 8341 Q 371 h 6903 3553 H 5413 U H U 5335 3601 2279 l 8609 7763 1493 x o u M D 4037
Output (English): 2247, 12, 2, 4827, 11, 8787, 6, 10, 1319, 9625, 1941, 5, 3, 8341, 17, 371, 8, 6903, 3553, 8, 5413, 21, 8, 21, 5335, 3601, 2279, 12, 8609, 7763, 1493, 24, 15, 21, 13, 4, 4037