Interaction of three fission fragments and yields of various ternary fragments