how to reverse a priority queue in Python without using classes?,"q.put((-n, n))"