Consider the following premises. If John were a scientist, then Mary is a bartender. If it is cloudy, then John is a scientist. It is cloudy or Mary is not a bartender. Can we infer the following from them? If we can, name the inference rule being used: If John were a scientist, then Mary is a bartender.
That is one of the premises. Therefore, the answer is yes.