Three men lose lives while resisting robberies