poj_2376 ac code