1 and Prime Numbers
Given a positive integer N, find all prime numbers less than N. Output them in ascending order, one per line.
Input
A single integer N (1 ≤ N ≤ 100,000,000) read from standard input.
Output
All qualifying numbers less than N, printed one per line in ascending order. If there are no qualifying numbers, output nothing.
Example
Input:
13
Output:
1
2
3
5
7
11
Scoring
Your solution is evaluated against 10 test cases worth 10 points each (100 total). Choose your language and get started.