A solution of POJ 1125 Stockbroker Grapevine