If the ratio of exterior and interior angle of a regular polygon is 2:7, what is the number of sides of the polygon?