the code of poj 3648