d:0$'0:"day17"; g:150; s:{x@&150=+/'x}@d@&:'!(#d)#2 / brute-force: subsets with sum g #s #&{x=&/x}@#:'s