Single line code python


#1

return sorted(A)[-1-B+1:]