The largest prime number under 1000 is 997.