Much neater and more general approach to how the 18th problem should be entered.