An artist creates the background for a painting by placing a circle in a square frame so that their centers coincide. If the radius of the circle is 7 inches, and the minimum distance from the circle to the square is 5 inches, what is the perimeter, in inches, of the inside of the frame?
96