Done with prob49 but seems it's easier to prepare all prime and solve the problem
Push another solution that try to find all primes first (not done)