" The second sentence, with took and up split, is acceptable and means the same thing as the first sentence. However, it is usually preferable to leave took and up together.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.