4. As shown in the figure, point $F$ is on the diagonal of rectangle $A B C D$. The perimeters of rectangle $A B C D$ and square $C E F G$ are planted with trees at equal intervals, and there is a tree at each vertex. If there are 49 trees on side $A D$, and 25 trees on side $A B$, then the perimeter of square $C E F G$ is planted with $\qquad$ trees.
\begin{tabular}{c}
4 \\
\hline 64
\end{tabular}