Problems from poj.org