Task: Program Execution
Input (English): 5861 8983 6081 8161 3131 5337 l r b 645 l b 4139 1129 I 8589 8267 w 2511 6027 n 3117 8329 g 3703 2249 Y w
Output (English): 7, 8, 9, 11, 12, 15, 18, 21, 24, 27, 28