The measure of an interior angle of a regular polygon is 160. How many sides does the polygon have?