Consider the following premises. If Karen climbs a mountain, then John is cooking. If John cooks, then Karen is climbing a mountain. If John cooks, then Karen is climbing a mountain. Can we infer the following from them? If John cooks, then Karen is climbing a mountain.
That is one of the premises. Therefore, the answer is yes.