#10 solved. Stupid solution. Could be improved by parallelism or other prime check algorithm