Task: Program Execution
Input (English): 1995 9269 8585 7905 V O 8875 A 3087 R s S I 6555 5585 7371 2619 H 681 6347 d 4935 3923 b 1935 p B x 9251 6117 c j Y 7073 r X G 9515
Output (English): 1995, 9269, 8585, 7905, 22, 15, 8875, 1, 3087, 18, 19, 19, 9, 6555, 5585, 7371, 2619, 8, 681, 6347, 4, 4935, 3923, 2, 1935, 16, 2, 24, 9251, 6117, 3, 10, 25, 7073, 18, 24, 7, 9515