How many positive integers have exactly three proper divisors, each of which is less than 50?

(第二十三届AIME1 2005 第3题)