Hackerearth -- In love with primes

solution : 

Note: Goldbach's conjecture is states that every even number is a sum of two odd prime number no need to check its proof just use the method.