HackerEarth In love with primes solved