Grid-town USA, in addition to its excellent donut shops, is known for its precisely laid out grid of streets and avenues. The town has 12 avenues running east/west, creatively named 1st, 2nd, etc. There are also exactly 12 streets (running north/south) also named 1st, 2nd, 3rd, and so on.
Suppose you are a cab driver in Grid-town. You pick up your fair at the corner of 1st and 1st and are instructed to travel all the way across town, to 12th and 12th. Of course you want to maximize the length of the trip. However, your passenger will get suspicious if you leave town or cross through any intersection more than once. What is the longest path you can take?