Human: At Palm Meadows, there are 13 hotel rooms. Eight of the rooms have two beds in them and the rest have three beds. How many beds are there in total? Assistant: 
How many rooms have three beds? ** There are 13-8 = <<13-8=5>>5 rooms with three beds.
How many beds do the 3 bedrooms rooms have in total? ** There are 5*3 = <<5*3=15>>15 beds for those hotel rooms that have three beds in them.
How many beds do the 2 bedrooms rooms have in total? ** There are 8*2 = <<8*2=16>>16 beds for those hotel rooms that have two beds in them.
How many beds are there in total? ** There are 15+16 = <<15+16=31>>31 beds in total.
#### 31