The majority of both, primary liver and stomach cancers are caused by infectious agents, thus they can potentially be prevented.