This problem is a programming version of Problem 10 from projecteuler.net
The sum of the primes below is .
Find the sum of all the primes not greater than given .
The first line contains an integer i.e. number of the test cases.
The next lines will contains an integer .
Print the value corresponding to each test case in separate line.
Sample Input 0
Sample Output 0