A certain carton holds fewer than 50 books. What is the number of books in the carton?
(1) The books in the carton can be divided into 3 stacks of X books each, with 2 books left over.
(2) The books in the carton can be divided into Y stacks of 7 books each, with 2 books left over.
(1) The books in the carton can be divided into 3 stacks of X books each, with 2 books left over.
(2) The books in the carton can be divided into Y stacks of 7 books each, with 2 books left over.
















