Consider the following premises. Barbara is a cashier. It is sunny. If it is sunny, then Barbara is writing a letter. Can we infer the following from them? Barbara is not writing a letter.
That contradicts the premises. Therefore the answer is no.