Solve the general case of the 24-challenge puzzle · HackerTrans