Take as input n. Determine all prime numbers till n and print them on the same
Input Format
Integer
Output Format
Space separated integers on the same line
Constraints
n <= 10 ^ 9
Take as input n. Determine all prime numbers till n and print them on the same
Integer
Space separated integers on the same line
n <= 10 ^ 9