The professor told John that he passed him.

Who is "he" in this prior sentence?
OPTIONS:
- The professor
- John
The professor
Luigi rescued Mario because he was in trouble.

Who is "he" in this prior sentence?
OPTIONS:
- Luigi
- Mario
Mario
Software gives more profit over hardware since they are costs with producing the materials each time.

Who is "they" in this prior sentence?
OPTIONS:
- Software
- hardware
hardware