poj to 1002