solve poj3617