Task: Program Execution
Input (English): 3311 1747 n 7147 e 3051 c 4659 1807 f 4239 q X 3855 x R 7873 3995 u T i 9039 L 9117 t B w 1641 5351 7773 9119 J b 1095 9025 7531 9761 6829
Output (English): 3311, 1747, 14, 7147, 5, 3051, 3, 4659, 1807, 6, 4239, 17, 24, 3855, 24, 18, 7873, 3995, 21, 20, 9, 9039, 12, 9117, 20, 2, 23, 1641, 5351, 7773, 9119, 10, 2, 1095, 9025, 7531, 9761, 6829