School Algebra Story Problems

This was taken from Marvin Minsky’s Why programming is a good medium for expressing poorly understood and sloppily-formulated ideas.

Mary is twice as old as Ann was when Mary was as old as Ann is now. If Mary is 24 years old, how old is Ann?

My school problems weren’t worded in quite this confusing a way.