Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Reynald is the head of the varsity department, and he bought 145 balls. Twenty were soccer balls. There were five more basketballs than the soccer balls. Twice the number of soccer balls were tennis balls.  There were ten more baseballs than the soccer balls, and the rest were volleyballs. How many were volleyballs?

### Response:
The number of basketballs was 20 + 5 = <<20+5=25>>25.
There were 2 x 20 = <<2*20=40>>40 tennis balls.
And, there were 20 + 10 = <<20+10=30>>30 baseballs.
So, the total balls were 20 + 25 + 40 + 30 = <<20+25+40+30=115>>115.
Thus, Reynald bought 145 - 115 = <<145-115=30>>30 volleyballs.
#### 30