Translate the following inference to logic notation: It is raining. Joseph is driving a car and Barbara is climbing a mountain. Therefore it is raining and Joseph is driving a car.
p. q and r. Therefore p and q.