A convex polygon has \( n \) sides, and the sum of the degree measures of its interior angles is \( 180(n-2) \). If the sum of the degree measures of the interior angles of another convex polygon with \( n+3 \) sides is 2340 degrees, determine the value of \( n \). Let's think step by step and output the final answer within \boxed{}.
user