Peter has a large number of chairs. When he arranges the chairs into
rows of 7, he has 4 chairs left over. In rows of 6, there are 3 chairs left over, and in rows
of 5, there are 4 left over. If Peter has at least 1000 chairs, what is the smallest number
of chairs he could have?