poj 2184 unfinished