poj_3253 ac code