Translate the following inference to logic notation: Susan is a politician and it is raining. David is writing a letter. If Susan were a politician, then Jennifer is cooking. Therefore Jennifer is cooking and David is writing a letter.
p and q. r. p -> s. Therefore s and r.