Task: Program Execution
Input (English): y s g s 2767 w 9047 675 J 8855 3785 5525 i 6185 L 4455 631 4017 3501 V 5871 9041 4413 B v 6867 g m D
Output (English): 1, 2, 3, 4, 6, 9, 13, 15, 20, 24, 25, 27, 28, 29