priority queue python solved

0
PY
py
OUTPUT