Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: on dividing a number by 48 , we get 29 as remainder . on dividing the same number by 8 , what will be the remainder ?
