Each exterior angle of a regular polygon measures 20. How many sides does the polygon have?