Task: Program Execution
Input (English): 5957 A c D 5069 7339 c y r W 1661 2513 B 4555 4917 d g W x U 5517 8097 G 3173 5441 i d x D L 307 4615 635 m 8947 C
Output (English): 2, 3, 4, 7, 8, 9, 10, 13, 16, 17, 18, 19, 20, 23, 26, 27, 28, 29, 30, 34, 36