<human>:  Adam has 50 balls. 20 balls are red, 10 are blue, and the rest are either pink or orange. If there are 3 times as many pink as orange balls, how many orange balls are there?
<bot>: How many balls are there? ** Adam has a total of 50 balls - 20 red - 10 blue = <<50-20-10=20>>20 pink and orange balls combined
How many pink balls are there? ** If we let x be the total number of orange balls, we know that 3x is the number of pink balls
How many balls are there? ** Therefore, 20 balls = x + 3x = 4x
How many orange balls are there? ** The number of orange balls, x, is 20 balls / 4 = <<20/4=5>>5 balls
#### 5