That sequence can't be exact. If you have 0->A->B->C->0, then C is isomorphic to B/A', where A' is the image of A under the map A->B. Because of exactness, that map is injective, so that A' is isomorphic to A. You can't take Z^3, mod out by something isomorphic to Z, and get Z.