Task: Program Execution
Input (English): 2847 1837 5799 807 9527 4769 E 311 N 1885 m b d 8725 2357 B C h 9869 4523 T 9975 d 4553 8191 8235 9917 s G B v V 2955 e 829 V 8833 3093 Y 5873
Output (English): 2847, 1837, 5799, 807, 9527, 4769, 5, 311, 14, 1885, 13, 2, 4, 8725, 2357, 2, 3, 8, 9869, 4523, 20, 9975, 4, 4553, 8191, 8235, 9917, 19, 7, 2, 22, 22, 2955, 5, 829, 22, 8833, 3093, 25, 5873