2005 AIME I Problem 3

How many positive integers have exactly three proper divisors, each of which is less than 50? (A proper divisor of a positive integer n is a positive integer divisor of n other than n itself.)