The angles of a convex polygon with n sides are in arithmetic progression. The common difference is 5 degrees, and the largest angle is 160 degrees. Find n.
n is 9