Task: Program Execution
Input (English): U 2603 6865 U J N 4577 7853 8933 5295 6389 4033 8887 6585 3577 D 1301 B M Q q 2299 8215 m 3893 G 4791
Output (English): 21, 2603, 6865, 21, 10, 14, 4577, 7853, 8933, 5295, 6389, 4033, 8887, 6585, 3577, 4, 1301, 2, 13, 17, 17, 2299, 8215, 13, 3893, 7, 4791