correct POJ1308 Again T_T