A coder $F,$ used to record in digital form the rotation of shaft $A,$ is connected to the shaft by means of the gear train shown, which consists of four gears and three solid steel shafts each of diameter $d .$ Two of the gears have a radius $r$ and the other two a radius $n r .$ If the rotation of the coder $F$ is prevented, determine in terms of $T, l, G, J,$ and $n$ the angle through which end $A$ rotates.