In a bag of oranges, the ratio of the good ones to the bad ones is 5:4. If the number of bad ones in the bag is 36, how many oranges are there altogether?