Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a rectangle the length of which is 8 inches and the width of which is 6 inches is made up 48 1 inch by 1 inch squares . through how many of the squares does a diagonal of the rectangle pass ?
