Consider the following premises. Elisabeth is cooking. If Charles were happy, then Joseph is a sailor. If it is cloudy, then Charles is happy. If Mary listens to a song, then Joseph is a sailor. It is cloudy or Mary is listening to a song. Can we infer the following from them? If Elisabeth cooks, then Joseph is a sailor.
We cannot infer that from the premises. Therefore the answer is no.