Finding minimum element in a min heap takes O(1) time. To find the 50th smallest element in a min heap needs to delete first 49 smaller elements and then finding the next smaller element, i.e. 50th smallest element.
Deleting smallest element (root element in a min heap) takes O(logn) time. Total time to delete 49 smaller elements is O(49*logn) = O(logn). Next finding the next min element takes O(1) time.
Next inserting all the 49 deleted elements need to be inserted back into the heap. That takes O(49*logn). The total time complexity thus becomes O(logn).