PROGRAMMING:Statistical prime sum
This problem requires statistics of the number of prime numbers in the given integer $$M $$and $$n $$intervals and their summation.
###Input format:
Input gives two positive integers $$M $$and $$n $$($$1 / Le M / Le n / Le 500 $$) in one line.
###Output format:
Output the number of prime numbers and their sum in the interval of $$M $$and $$n $$in a row, separated by spaces.
###Input example:
```in
10 31
```
###Output example:
```out
7 143
```
answer:If there is no answer, please comment
###Input format:
Input gives two positive integers $$M $$and $$n $$($$1 / Le M / Le n / Le 500 $$) in one line.
###Output format:
Output the number of prime numbers and their sum in the interval of $$M $$and $$n $$in a row, separated by spaces.
###Input example:
```in
10 31
```
###Output example:
```out
7 143
```
answer:If there is no answer, please comment