Task: Program Execution
Input (English): 7739 X c 6685 r 9127 N 2001 Q 2145 W g g 6679 8303 M 7479 H W b 1223 6643 227 t 1503 w l 9797 5057 5921 c 6923 a 1587 1769 s K E
Output (English): 7739, 24, 3, 6685, 18, 9127, 14, 2001, 17, 2145, 23, 7, 7, 6679, 8303, 13, 7479, 8, 23, 2, 1223, 6643, 227, 20, 1503, 23, 12, 9797, 5057, 5921, 3, 6923, 1, 1587, 1769, 19, 11, 5