The roller skate rental shop realizes they made an error when recording their rentals on Tuesday. Instead of 18 pairs, they had actually rented out 9 pairs of roller skates that day. With the correct number for Tuesday and the 23 pairs they rented on Wednesday, how many roller skates in total were actually rented out over those two days?