POJ No.3253, priority queue.