A regular polygon first maps directly onto itself after rotating 22.5 degrees. How many sides does the polygon have?

8
11
16
45