<human>:  There are 200 snakes in a park. There are three times as many pythons as boa constrictors. If there 40 boa constrictors and the rest of the snakes are rattlesnakes, calculate the total number of rattlesnakes in the park.
<bot>: How many pythons are there? ** If the number of pythons is three times the number of boa constrictors, then there are 3*40 = <<3*40=120>>120 pythons
How many snakes are there? ** Together, the number of pythons and boa constrictors is 120+40 = <<120+40=160>>160
How many rattlesnakes are there? ** If there are 200 snakes in the park, the number of rattlesnakes is 200-160 = <<200-160=40>>40
#### 40