There are 6 zucchinis but 4 6 of them are rotten. Joe throws out the rotten zucchinis and puts the rest in his basket. How many did he throw out?