Prime numbers 2
Easy
Execution time limit is 0.15 seconds
Runtime memory usage limit is 122.174 megabytes
List all prime numbers from m to n inclusive.
Input
In the first line given two numbers m and n (2 ≤ m ≤ n ≤ 1000000).
Output
Print all prime numbers in ascending order, one per line. If there is no prime number between m and n inclusively, print "Absent".
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 8K
Acceptance rate 20%