162

Problem ID: 162

Even though some of the input is not strictly legal, it should help illustrate a couple of important aspects of the problem that might be hard to grasp otherwise.