Consider the following premises. Linda is not running. If Richard listens to a song, then Linda is running. If Richard listens to a song, then Patricia is playing squash. If Patricia plays squash, then it is sunny. If it is sunny, then Richard is listening to a song. Can we infer the following from them? Patricia is not playing squash.
 From the fact that if Patricia plays squash, then it is sunny, and that if it is sunny, then Richard is listening to a song we can infer that if Patricia plays squash, then Richard is listening to a song. From the fact that if Richard listens to a song, then Patricia is playing squash, and that if Patricia plays squash, then Richard is listening to a song we can infer that Richard is listening to a song if and only if Patricia is playing squash. From the fact that if Richard listens to a song, then Linda is running, and that Linda is not running we can infer that Richard is not listening to a song. Finally, from the fact that Richard is listening to a song if and only if Patricia is playing squash, and that Richard is not listening to a song we can infer that Patricia is not playing squash. Therefore, the answer is yes.