Mark and Ann together were allocated n boxes of cookies to sell for a club project. Mark sold 10 boxes less than n and Ann sold 2 boxes less than n. If Mark and Ann have each sold at least one box of cookies, but together they have sold less than n boxes, what is the value of n?