Johanna carves a square block of wood that has on one side an area of 872 square inches. To the nearest integer, what is the length of the side?
A. 30
B. 28
C. 26
D. 24