Hide

Problem Q
Pallatölur

Languages en is
/problems/pallatolur/file/statement/en/img-0001.jpg
Photo from pexels.com

Palli loves prime numbers but his favourite numbers are even prime numbers. Palli received numbers from his grandmother as a birthday present, but he only wants to hold on to his favourite numbers. The set of numbers his grandmother bought included all the integers from $a$ to $b$, including both $a$ and $b$. Can you help Palli filter out his favourite numbers?

Input

Input consists of two lines. The former line consists of the integer $a$. The latter line consists of the integer $b$.

Output

If there are no even prime numbers in the range you should output :( because then Palli is sad. Otherwise you should output two lines. The former line should consist of the number of even primes in the range. The latter line should consist of the even primes in ascending order, separated by spaces.

Scoring

Group

Point

Constraints

1

100

$-10^9 \leq a \leq b \leq 10^9$

Sample Input 1 Sample Output 1
1
3
1
2
Sample Input 2 Sample Output 2
-1
1
:(

Please log in to submit a solution to this problem

Log in