Translate the following inference to logic notation: If Barbara writes a letter, then it is raining. It is windy. If it rains, then Jennifer is an artist. If it is windy, then it is raining. Therefore Jennifer is an artist.
p -> q. r. q -> s. r -> q. Therefore s.