Henry wants to build a structure with his new LEGO set. The LEGO set contains five hundred legos. The structure will be three levels high. The first level is 27 legos. Henry uses twice as many for the second level as for the first. He uses three times as many legos for the third level as for the second level. How many legos does Henry use to build his structure with three levels?