Solve for n S=(n-2)*180