Given a number N, find the minimum number of prime numbers required, whose summation gives you N.
Eg: N = 4 4 can be denoted as 2 + 2, hence minimum number of primes needed is 2.
If not possible, return -1.
Note that 1 is not a prime number.
0 <= N <= 10^9
2 9 = 2 + 7
1 11 itself is a prime.
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a doubt? Checkout Sample Codes for more details.