Task: Program Execution
Input (English): O 2461 s k m j 7829 S D X 7543 z 4593 K 8231 k R 4319 3561 7153 7737 4657 v d m a 4563 k c 353 A 9233
Output (English): 1, 3, 4, 5, 6, 8, 9, 10, 12, 14, 16, 17, 23, 24, 25, 26, 28, 29, 31