Function to return the Hospital Name in the state  based on the provided rank