Task: Program Execution
Input (English): 9789 1823 7239 d 2987 8285 O 6893 M 5319 7925 C O 4705 E 5061 839 T m 2479 J 3173 5687 6651 z 3785 W l G q X 2861 3297 v M 8191 9813 4187
Output (English): 9789, 1823, 7239, 4, 2987, 8285, 15, 6893, 13, 5319, 7925, 3, 15, 4705, 5, 5061, 839, 20, 13, 2479, 10, 3173, 5687, 6651, 26, 3785, 23, 12, 7, 17, 24, 2861, 3297, 22, 13, 8191, 9813, 4187