In a three-phase signal system design for a four-leg intersection, the critical flow ratios for each phase are $0.18, 0.32$, and $0.22$. The total loss time in each of the phases is $\text{2 s}$. As per Webster's formula, the optimal cycle length (in $\text{s}, \textit{round off to the nearest integer}$) is _______________