The number of triangles which can be formed by using the vertices of a regular polygon of (n+3) sides is 220. Then, n is equal to