27 solved. sievedthen simple loops.