A regular 18-sided polygon is rotated with the center of rotation at its center. What is the smallest degree of rotation needed to map the polygon back on to itself?