Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: if the product of the integers from 1 to n is divisible by 378 , what is the least possible value of n ?
Output:
9