Task: Program Execution
Input (English): 1247 6807 3937 s J M t p 7855 3529 5159 1751 S 7741 N Q f Y 8411 w 4979 v 4309 w 2595 9333 r 8905 D 3541 9169 s 6289 Q g n 235
Output (English): 4, 5, 6, 7, 8, 13, 15, 16, 17, 18, 20, 22, 24, 27, 29, 32, 34, 35, 36