some code accepted on the poj