Consider the following premises. If Charles were a cashier, then it is raining. If it rains, then Charles is a cashier. If James were a server, then it is raining. Can we infer the following from them? James is a server.
We cannot infer that from the premises. Therefore the answer is no.