To understand the event "John had to write a paper for school.  John used her computer to type up the paper.", it is important to know that The word "her" refers to females only.