Effect of fluid inertia on the motion of a collinear swimmer.