poj2017. for novice.