Houzz Interview Question

Find prime numbers that smaller than the given number.