結果 : get last element of queue python