Consider the following premises. If Elisabeth were a janitor, then Barbara is curious. Elisabeth is a janitor. Joseph is listening to a song if and only if Barbara is curious. Can we infer the following from them? Charles is not writing a letter.
We cannot infer that from the premises. Therefore the answer is no.