Task: Program Execution
Input (English): 1039 D b R 8031 5863 8485 E S O 947 B 6311 1255 i 6815 487 c 3441 6017 8413 5249 l D 8897 2993 j a 8275 J 2323 5721 2719 r l a O 1375 2727 T
Output (English): 2, 3, 4, 8, 9, 10, 12, 15, 18, 23, 24, 27, 28, 30, 34, 35, 36, 37, 40