Task: Program Execution
Input (English): 5857 H e 8581 5495 S 8441 4453 F 4641 4957 1445 3775 p x A 6839 l 5731 7573 P I l 1209 O y 3351
Output (English): 5857, 8, 5, 8581, 5495, 19, 8441, 4453, 6, 4641, 4957, 1445, 3775, 16, 24, 1, 6839, 12, 5731, 7573, 16, 9, 12, 1209, 15, 25, 3351