Write the shortest code for finding the sum of primes between a and b (inclusive).
Input
aandbcan be taken from command line or stdin (space seperated)- Assume
1 <= a <= b <=108
Output Just print the sum with a newline character.
Bonus Points
- If the program accepts multiple ranges (print one sum on each line), you get extra points. :)