The angle of rotation of end $A$ of the gear-and-shaft system shown must not exceed $4^{\circ} .$ Knowing that the shafts are made of a steel for which $\tau_{\text {all }}=65 \mathrm{MPa}$ and $G=77.2 \mathrm{GPa}$, determine the largest torque T that can be safely applied at end $A$.