A regular polygon of n sides has 170 diagonals. Then n=
If each interior angle of a regular polygon is 170∘, then the polygon has ___ sides.