poj 1028 not finished