eolymp
bolt
Try our new interface for solving problems
Problems

Prime numbers 2

Prime numbers 2

List all prime numbers from m to n inclusive.

Input

In the first line given two numbers m and n (2mn1000000).

Output

Print all prime numbers in ascending order, one per line. If there is no prime number between m and n inclusively, print "Absent".

Time limit 0.15 seconds
Memory limit 122.17 MiB
Input example #1
2 5
Output example #1
2
3
5
Input example #2
4 4
Output example #2
Absent