A craftsman is asked to manufacture three universal weights so that, using only these weights and a simple balancing scale, it will be possible to measure any mass of consequtive integer number of grams, starting from 1 gram, 2 grams, etc., up to a maximum possible mass of N grams. It is allowed to place any of the three weights in any of the sides of the balancing scale, or to put any of them aside. What is the greatest possible mass, N grams, that one can measure, given these requirements?
(A) 6g (B) 7g (C) 9g (D) 10g (E) 13g