Print prime numbers till the given number