Nowadays both are acceptable; in fact, the latter is more usual. However, you should check with your teacher if it is an assigned essay, for instance.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.