Three objects \(\text{A, B}\) and \(\text C\) are kept in a straight line on a frictionless horizontal surface. The masses of \(\text{A, B}\) and \(\text C\) are \(m,~2~m\) and \(2~m\) respectively. \(\text A\) moves towards \(\text B\) with a speed of \(9~\text{m/s}\) and makes an elastic collision with it. Thereafter \(\text B\) makes a completely inelastic collision with \(\text C\). All motions occur along same straight line. The final speed of \(\text C\) is :