poj3481 ac
uva10954 uva501 inqueue