Task: Program Execution
Input (English): L y 9401 T 6987 4023 x 3941 8571 509 9621 6151 a X 45 q E 2531 4513 m 57 6449 4851 r V 2587
Output (English): 12, 25, 9401, 20, 6987, 4023, 24, 3941, 8571, 509, 9621, 6151, 1, 24, 45, 17, 5, 2531, 4513, 13, 57, 6449, 4851, 18, 22, 2587