poj-1157 done