Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a group of n students can be divided into equal groups of 3 with 1 student left over or equal groups of 6 with 1 students left over . what is the sum of the two smallest possible values of n ?
