human
Keenan needs to write an essay that is 1200 words. Her essay is due at midnight. She writes 400 words per hour for the first two hours. After that, she writes 200 words per hour. How many hours before the deadline does she need to start to finish on time?
assistant
How many words does Keenan write in the first two hours? ** In the first two hours, Keenan writes 800 words because 400*2=<<400*2=800>>800.
How many words does Keenan need to write after the first two hours? ** After that, she still needs to write 400 words because 1200-800=<<1200-800=400>>400.
How many hours will it take Keenan to write the last 400 words? ** Since she writes 200 words per hour, she will take 2 hours to write the last 400 words because 400/200=<<400/200=2>>2.
How many hours before the deadline does Keenan need to start to finish on time? ** Thus, she needs to start 4 hours before the deadline because 2+2=<<4=4>>4.
#### 4