On Tuesday, Buddy loses half of his 30 baseball cards, so he is left with 30/2 = 15 baseball cards.
On Wednesday, Buddy buys 12 baseball cards, so he now has 15 + 12 = 27 baseball cards.
On Thursday, Buddy buys a third of what he had on Tuesday, which is 15/3 = 5 baseball cards.
Therefore, on Thursday Buddy has 27 + 5 = 32 baseball cards.
#### 32
The answer is: 32
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
On Monday Buddy has 30 baseball cards. On Tuesday Buddy loses half of them. On Wednesday Buddy buys 12 baseball cards. On Thursday he buys a third of what he had on Tuesday. How many baseball cards does he have on Thursday?

### Answer:
